home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1991-09-05 | 31.9 KB | [STAK/WILD] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: StackTools4
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| HyperCard Stack (archive/hypercard)
| idMeta
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Sat Mar 30 11:39:57 1991, modified Thu Sep 5 07:33:51 1991, creator HyperCard, type HyperCard stack, 31776 bytes "StackTools4" , at 0x7ca0 522 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Mac HyperCard stack (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [STAK] |
macFileCreator | [WILD] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 53 74 61 63 6b 54 | 6f 6f 6c 73 34 00 00 00 |..StackT|ools4...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 00 7c 20 00 | 00 02 0a a4 1a 6f dd a4 |.....| .|.....o..|
|00000060| eb c6 9f 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 31 6a 00 00 |........|....1j..|
|00000080| 00 00 68 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..h.STAK|........|
|00000090| 00 00 00 0a 00 00 7c 20 | 00 00 68 00 00 00 00 00 |......| |..h.....|
|000000a0| 00 00 00 00 00 00 00 01 | 00 00 0a 97 00 00 00 01 |........|........|
|000000b0| 00 00 0b f5 00 00 11 e5 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 0f fb 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 01 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |........|........|
|000000f0| de 92 b8 f8 00 00 00 00 | 00 b2 00 a0 01 52 01 e0 |........|.....R..|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d ef 00 00 0c 31 | 00 a0 01 40 00 00 00 00 |.......1|...@....|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 20 53 74 61 63 6b | 54 6f 6f 6c 73 34 0d 2d |-- Stack|Tools4.-|
|00000690| 2d 20 4d 69 73 63 20 48 | 61 6e 64 6c 65 72 73 20 |- Misc H|andlers |
|000006a0| 66 6f 72 20 53 74 61 63 | 6b 54 6f 6f 6c 73 20 4d |for Stac|kTools M|
|000006b0| 65 6e 75 20 76 31 2e 31 | 0d 2d 2d 20 a9 31 39 39 |enu v1.1|.-- .199|
|000006c0| 31 20 53 63 6f 74 74 20 | 53 74 65 6e 68 6f 75 73 |1 Scott |Stenhous|
|000006d0| 65 0d 0d 2d 2d 20 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |e..-- **|********|
|000006e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000006f0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000700| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000710| 2a 2a 2a 2a 2a 0d 2d 2d | 20 54 68 65 20 66 6f 6c |*****.--| The fol|
|00000720| 6c 6f 77 69 6e 67 20 65 | 78 74 65 72 6e 61 6c 73 |lowing e|xternals|
|00000730| 20 61 72 65 20 75 73 65 | 64 20 69 6e 20 74 68 65 | are use|d in the|
|00000740| 20 53 74 61 63 6b 54 6f | 6f 6c 73 20 4d 65 6e 75 | StackTo|ols Menu|
|00000750| 20 73 74 61 63 6b 73 3a | 0d 0d 2d 2d 20 20 20 20 | stacks:|..-- |
|00000760| 20 20 53 68 6f 77 44 69 | 61 6c 6f 67 20 20 20 a9 | ShowDi|alog .|
|00000770| 4a 61 79 20 48 6f 64 67 | 64 6f 6e 20 20 28 73 68 |Jay Hodg|don (sh|
|00000780| 61 72 65 77 61 72 65 29 | 0d 2d 2d 20 20 20 20 20 |areware)|.-- |
|00000790| 20 50 72 69 6e 74 44 6f | 63 20 20 20 a9 4a 61 79 | PrintDo|c .Jay|
|000007a0| 20 48 6f 64 67 64 6f 6e | 20 20 28 73 68 61 72 65 | Hodgdon| (share|
|000007b0| 77 61 72 65 29 0d 2d 2d | 20 20 20 20 20 20 43 6f |ware).--| Co|
|000007c0| 6d 6d 61 6e 64 50 65 72 | 69 6f 64 20 20 20 a9 47 |mmandPer|iod .G|
|000007d0| 65 6f 72 67 65 20 50 79 | 74 6c 69 6b 0d 2d 2d 20 |eorge Py|tlik.-- |
|000007e0| 20 20 20 20 20 4d 65 6e | 75 20 32 2e 31 20 20 20 | Men|u 2.1 |
|000007f0| a9 46 72 8e 64 8e 72 69 | 63 20 52 69 6e 61 6c 64 |.Fr.d.ri|c Rinald|
|00000800| 69 0d 2d 2d 20 20 20 20 | 20 20 46 75 6c 6c 46 69 |i.-- | FullFi|
|00000810| 6e 64 20 58 46 43 4e 20 | 76 20 31 2e 31 20 20 20 |nd XFCN |v 1.1 |
|00000820| a9 46 72 8e 64 8e 72 69 | 63 20 52 69 6e 61 6c 64 |.Fr.d.ri|c Rinald|
|00000830| 69 0d 2d 2d 20 20 20 20 | 20 20 50 72 6f 6d 70 74 |i.-- | Prompt|
|00000840| 6f 69 64 20 31 2e 31 20 | 20 20 a9 46 72 8e 64 8e |oid 1.1 | .Fr.d.|
|00000850| 72 69 63 20 52 69 6e 61 | 6c 64 69 0d 0d 2d 2d 20 |ric Rina|ldi..-- |
|00000860| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000870| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000880| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000890| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 0d |********|*******.|
|000008a0| 0d 2d 2d 2d 2d 2d 20 20 | 45 76 65 6e 74 20 48 61 |.----- |Event Ha|
|000008b0| 6e 64 6c 65 72 73 3a 20 | 20 2d 2d 2d 2d 2d 2d 2d |ndlers: | -------|
|000008c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000008d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0d 0d 6f |--------|-----..o|
|000008e0| 6e 20 69 64 6c 65 0d 67 | 6c 6f 62 61 6c 20 73 74 |n idle.g|lobal st|
|000008f0| 6d 4e 61 6d 65 2c 53 63 | 72 69 70 74 73 50 72 6f |mName,Sc|riptsPro|
|00000900| 63 0d 69 66 20 53 63 72 | 69 70 74 73 50 72 6f 63 |c.if Scr|iptsProc|
|00000910| 20 3d 20 22 54 52 55 45 | 22 20 74 68 65 6e 20 61 | = "TRUE|" then a|
|00000920| 62 6f 72 74 53 63 72 69 | 70 74 73 48 61 6e 64 6c |bortScri|ptsHandl|
|00000930| 65 72 20 46 41 4c 53 45 | 2c 46 41 4c 53 45 2c 46 |er FALSE|,FALSE,F|
|00000940| 41 4c 53 45 0d 70 61 73 | 73 20 69 64 6c 65 0d 65 |ALSE.pas|s idle.e|
|00000950| 6e 64 20 69 64 6c 65 0d | 0d 6f 6e 20 6f 70 65 6e |nd idle.|.on open|
|00000960| 43 61 72 64 0d 67 6c 6f | 62 61 6c 20 53 74 6d 4e |Card.glo|bal StmN|
|00000970| 61 6d 65 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |ame.if t|here is |
|00000980| 61 20 6d 65 6e 75 20 53 | 74 6d 4e 61 6d 65 20 74 |a menu S|tmName t|
|00000990| 68 65 6e 20 73 65 74 43 | 61 72 64 50 72 6f 70 43 |hen setC|ardPropC|
|000009a0| 68 65 63 6b 73 0d 70 61 | 73 73 20 6f 70 65 6e 43 |hecks.pa|ss openC|
|000009b0| 61 72 64 0d 65 6e 64 20 | 6f 70 65 6e 43 61 72 64 |ard.end |openCard|
|000009c0| 0d 0d 6f 6e 20 6f 70 65 | 6e 42 61 63 6b 67 72 6f |..on ope|nBackgro|
|000009d0| 75 6e 64 0d 67 6c 6f 62 | 61 6c 20 53 74 6d 4e 61 |und.glob|al StmNa|
|000009e0| 6d 65 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |me.if th|ere is a|
|000009f0| 20 6d 65 6e 75 20 53 74 | 6d 4e 61 6d 65 20 74 68 | menu St|mName th|
|00000a00| 65 6e 20 73 65 74 42 6b | 67 6e 64 50 72 6f 70 43 |en setBk|gndPropC|
|00000a10| 68 65 63 6b 73 0d 70 61 | 73 73 20 6f 70 65 6e 42 |hecks.pa|ss openB|
|00000a20| 61 63 6b 67 72 6f 75 6e | 64 0d 65 6e 64 20 6f 70 |ackgroun|d.end op|
|00000a30| 65 6e 42 61 63 6b 67 72 | 6f 75 6e 64 0d 0d 6f 6e |enBackgr|ound..on|
|00000a40| 20 6f 70 65 6e 53 74 61 | 63 6b 0d 67 6c 6f 62 61 | openSta|ck.globa|
|00000a50| 6c 20 53 74 6d 4e 61 6d | 65 0d 67 65 74 20 74 68 |l StmNam|e.get th|
|00000a60| 65 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |e short |name of |
|00000a70| 74 68 69 73 20 73 74 61 | 63 6b 0d 69 66 20 69 74 |this sta|ck.if it|
|00000a80| 20 69 73 20 22 53 74 61 | 63 6b 54 6f 6f 6c 73 31 | is "Sta|ckTools1|
|00000a90| 22 20 6f 72 20 74 68 65 | 72 65 20 69 73 20 6e 6f |" or the|re is no|
|00000aa0| 74 20 61 20 6d 65 6e 75 | 20 53 74 6d 4e 61 6d 65 |t a menu| StmName|
|00000ab0| 20 74 68 65 6e 20 70 61 | 73 73 20 6f 70 65 6e 53 | then pa|ss openS|
|00000ac0| 74 61 63 6b 0d 61 64 64 | 54 6f 53 74 61 63 6b 73 |tack.add|ToStacks|
|00000ad0| 0d 73 65 74 53 74 61 63 | 6b 50 72 6f 70 43 68 65 |.setStac|kPropChe|
|00000ae0| 63 6b 73 0d 70 61 73 73 | 20 6f 70 65 6e 53 74 61 |cks.pass| openSta|
|00000af0| 63 6b 0d 65 6e 64 20 6f | 70 65 6e 53 74 61 63 6b |ck.end o|penStack|
|00000b00| 0d 0d 6f 6e 20 72 65 73 | 75 6d 65 53 74 61 63 6b |..on res|umeStack|
|00000b10| 0d 67 6c 6f 62 61 6c 20 | 53 74 6d 4e 61 6d 65 0d |.global |StmName.|
|00000b20| 67 65 74 20 74 68 65 20 | 73 68 6f 72 74 20 6e 61 |get the |short na|
|00000b30| 6d 65 20 6f 66 20 74 68 | 69 73 20 73 74 61 63 6b |me of th|is stack|
|00000b40| 0d 69 66 20 69 74 20 69 | 73 20 22 53 74 61 63 6b |.if it i|s "Stack|
|00000b50| 54 6f 6f 6c 73 31 22 20 | 6f 72 20 74 68 65 72 65 |Tools1" |or there|
|00000b60| 20 69 73 20 6e 6f 74 20 | 61 20 6d 65 6e 75 20 53 | is not |a menu S|
|00000b70| 74 6d 4e 61 6d 65 20 74 | 68 65 6e 20 70 61 73 73 |tmName t|hen pass|
|00000b80| 20 72 65 73 75 6d 65 53 | 74 61 63 6b 0d 61 64 64 | resumeS|tack.add|
|00000b90| 54 6f 53 74 61 63 6b 73 | 0d 73 65 74 53 74 61 63 |ToStacks|.setStac|
|00000ba0| 6b 50 72 6f 70 43 68 65 | 63 6b 73 0d 73 65 74 42 |kPropChe|cks.setB|
|00000bb0| 6b 67 6e 64 50 72 6f 70 | 43 68 65 63 6b 73 0d 73 |kgndProp|Checks.s|
|00000bc0| 65 74 43 61 72 64 50 72 | 6f 70 43 68 65 63 6b 73 |etCardPr|opChecks|
|00000bd0| 0d 70 61 73 73 20 72 65 | 73 75 6d 65 53 74 61 63 |.pass re|sumeStac|
|00000be0| 6b 0d 65 6e 64 20 72 65 | 73 75 6d 65 53 74 61 63 |k.end re|sumeStac|
|00000bf0| 6b 0d 0d 6f 6e 20 63 6c | 6f 73 65 53 74 61 63 6b |k..on cl|oseStack|
|00000c00| 0d 67 6c 6f 62 61 6c 20 | 73 74 6d 4e 61 6d 65 2c |.global |stmName,|
|00000c10| 53 63 72 69 70 74 73 50 | 72 6f 63 0d 69 66 20 53 |ScriptsP|roc.if S|
|00000c20| 63 72 69 70 74 73 50 72 | 6f 63 20 3d 20 22 54 52 |criptsPr|oc = "TR|
|00000c30| 55 45 22 20 74 68 65 6e | 20 61 62 6f 72 74 53 63 |UE" then| abortSc|
|00000c40| 72 69 70 74 73 48 61 6e | 64 6c 65 72 20 46 41 4c |riptsHan|dler FAL|
|00000c50| 53 45 2c 46 41 4c 53 45 | 2c 46 41 4c 53 45 0d 69 |SE,FALSE|,FALSE.i|
|00000c60| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 6d 65 6e |f there |is a men|
|00000c70| 75 20 73 74 6d 4e 61 6d | 65 20 74 68 65 6e 20 75 |u stmNam|e then u|
|00000c80| 70 64 61 74 65 53 74 61 | 63 6b 73 4d 65 6e 75 0d |pdateSta|cksMenu.|
|00000c90| 70 61 73 73 20 63 6c 6f | 73 65 53 74 61 63 6b 0d |pass clo|seStack.|
|00000ca0| 65 6e 64 20 63 6c 6f 73 | 65 53 74 61 63 6b 0d 0d |end clos|eStack..|
|00000cb0| 6f 6e 20 73 75 73 70 65 | 6e 64 53 74 61 63 6b 0d |on suspe|ndStack.|
|00000cc0| 67 6c 6f 62 61 6c 20 73 | 74 6d 4e 61 6d 65 2c 53 |global s|tmName,S|
|00000cd0| 63 72 69 70 74 73 50 72 | 6f 63 0d 69 66 20 53 63 |criptsPr|oc.if Sc|
|00000ce0| 72 69 70 74 73 50 72 6f | 63 20 3d 20 22 54 52 55 |riptsPro|c = "TRU|
|00000cf0| 45 22 20 74 68 65 6e 20 | 61 62 6f 72 74 53 63 72 |E" then |abortScr|
|00000d00| 69 70 74 73 48 61 6e 64 | 6c 65 72 20 46 41 4c 53 |iptsHand|ler FALS|
|00000d10| 45 2c 46 41 4c 53 45 2c | 46 41 4c 53 45 0d 70 61 |E,FALSE,|FALSE.pa|
|00000d20| 73 73 20 73 75 73 70 65 | 6e 64 53 74 61 63 6b 0d |ss suspe|ndStack.|
|00000d30| 65 6e 64 20 73 75 73 70 | 65 6e 64 53 74 61 63 6b |end susp|endStack|
|00000d40| 0d 0d 6f 6e 20 71 75 69 | 74 0d 73 65 74 20 74 68 |..on qui|t.set th|
|00000d50| 65 20 63 75 72 73 6f 72 | 20 74 6f 20 77 61 74 63 |e cursor| to watc|
|00000d60| 68 0d 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 67 6f |h.lock s|creen.go|
|00000d70| 20 74 6f 20 53 74 61 63 | 6b 54 6f 6f 6c 73 31 0d | to Stac|kTools1.|
|00000d80| 73 61 76 65 53 74 6d 47 | 6c 6f 62 61 6c 73 0d 65 |saveStmG|lobals.e|
|00000d90| 6e 64 20 71 75 69 74 0d | 0d 6f 6e 20 73 74 61 72 |nd quit.|.on star|
|00000da0| 74 0d 67 6c 6f 62 61 6c | 20 53 74 6d 4e 61 6d 65 |t.global| StmName|
|00000db0| 2c 54 72 61 70 53 74 61 | 72 74 53 74 6f 70 2c 55 |,TrapSta|rtStop,U|
|00000dc0| 73 65 41 6c 65 72 74 50 | 72 65 66 0d 69 66 20 54 |seAlertP|ref.if T|
|00000dd0| 72 61 70 53 74 61 72 74 | 53 74 6f 70 20 3d 20 46 |rapStart|Stop = F|
|00000de0| 41 4c 53 45 20 74 68 65 | 6e 20 70 61 73 73 20 73 |ALSE the|n pass s|
|00000df0| 74 61 72 74 0d 6d 65 6e | 75 20 22 45 6e 61 62 6c |tart.men|u "Enabl|
|00000e00| 65 22 2c 53 74 6d 4e 61 | 6d 65 2c 22 53 74 61 63 |e",StmNa|me,"Stac|
|00000e10| 6b 55 73 65 22 2c 22 55 | 70 64 61 74 65 20 4c 69 |kUse","U|pdate Li|
|00000e20| 73 74 22 0d 69 66 20 55 | 73 65 41 6c 65 72 74 50 |st".if U|seAlertP|
|00000e30| 72 65 66 20 69 73 20 46 | 41 4c 53 45 20 74 68 65 |ref is F|ALSE the|
|00000e40| 6e 20 70 61 73 73 20 73 | 74 61 72 74 0d 70 75 74 |n pass s|tart.put|
|00000e50| 20 22 41 22 20 26 26 20 | 71 75 6f 74 65 20 26 20 | "A" && |quote & |
|00000e60| 22 53 74 61 72 74 20 55 | 73 69 6e 67 22 20 26 20 |"Start U|sing" & |
|00000e70| 71 75 6f 74 65 20 26 26 | 20 c2 0d 22 6d 65 73 73 |quote &&| .."mess|
|00000e80| 61 67 65 20 68 61 73 20 | 62 65 65 6e 20 72 65 63 |age has |been rec|
|00000e90| 65 69 76 65 64 3a 22 20 | 69 6e 74 6f 20 70 72 6f |eived:" |into pro|
|00000ea0| 6d 70 74 31 0d 70 75 74 | 20 22 59 6f 75 20 6d 61 |mpt1.put| "You ma|
|00000eb0| 79 20 6e 65 65 64 20 74 | 6f 20 75 70 64 61 74 65 |y need t|o update|
|00000ec0| 20 74 68 65 20 53 74 61 | 63 6b 55 73 65 20 4c 69 | the Sta|ckUse Li|
|00000ed0| 73 74 2e 22 20 69 6e 74 | 6f 20 70 72 6f 6d 70 74 |st." int|o prompt|
|00000ee0| 32 0d 73 68 6f 77 4e 6f | 74 65 32 20 70 72 6f 6d |2.showNo|te2 prom|
|00000ef0| 70 74 31 2c 70 72 6f 6d | 70 74 32 0d 70 61 73 73 |pt1,prom|pt2.pass|
|00000f00| 20 73 74 61 72 74 0d 65 | 6e 64 20 73 74 61 72 74 | start.e|nd start|
|00000f10| 0d 0d 6f 6e 20 73 74 6f | 70 0d 67 6c 6f 62 61 6c |..on sto|p.global|
|00000f20| 20 53 74 6d 4e 61 6d 65 | 2c 54 72 61 70 53 74 61 | StmName|,TrapSta|
|00000f30| 72 74 53 74 6f 70 2c 55 | 73 65 41 6c 65 72 74 50 |rtStop,U|seAlertP|
|00000f40| 72 65 66 0d 69 66 20 54 | 72 61 70 53 74 61 72 74 |ref.if T|rapStart|
|00000f50| 53 74 6f 70 20 3d 20 46 | 41 4c 53 45 20 74 68 65 |Stop = F|ALSE the|
|00000f60| 6e 20 70 61 73 73 20 73 | 74 6f 70 0d 6d 65 6e 75 |n pass s|top.menu|
|00000f70| 20 22 45 6e 61 62 6c 65 | 22 2c 53 74 6d 4e 61 6d | "Enable|",StmNam|
|00000f80| 65 2c 22 53 74 61 63 6b | 55 73 65 22 2c 22 55 70 |e,"Stack|Use","Up|
|00000f90| 64 61 74 65 20 4c 69 73 | 74 22 0d 69 66 20 55 73 |date Lis|t".if Us|
|00000fa0| 65 41 6c 65 72 74 50 72 | 65 66 20 69 73 20 46 41 |eAlertPr|ef is FA|
|00000fb0| 4c 53 45 20 74 68 65 6e | 20 70 61 73 73 20 73 74 |LSE then| pass st|
|00000fc0| 6f 70 0d 70 75 74 20 22 | 41 22 20 26 26 20 71 75 |op.put "|A" && qu|
|00000fd0| 6f 74 65 20 26 20 22 53 | 74 6f 70 20 55 73 69 6e |ote & "S|top Usin|
|00000fe0| 67 22 20 26 20 71 75 6f | 74 65 20 26 26 20 c2 0d |g" & quo|te && ..|
|00000ff0| 22 6d 65 73 73 61 67 65 | 20 68 61 73 20 62 65 65 |"message| has bee|
|00001000| 6e 20 72 65 63 65 69 76 | 65 64 3a 22 20 69 6e 74 |n receiv|ed:" int|
|00001010| 6f 20 70 72 6f 6d 70 74 | 31 0d 70 75 74 20 22 59 |o prompt|1.put "Y|
|00001020| 6f 75 20 6d 61 79 20 6e | 65 65 64 20 74 6f 20 75 |ou may n|eed to u|
|00001030| 70 64 61 74 65 20 74 68 | 65 20 53 74 61 63 6b 55 |pdate th|e StackU|
|00001040| 73 65 20 4c 69 73 74 2e | 22 20 69 6e 74 6f 20 70 |se List.|" into p|
|00001050| 72 6f 6d 70 74 32 0d 73 | 68 6f 77 4e 6f 74 65 32 |rompt2.s|howNote2|
|00001060| 20 70 72 6f 6d 70 74 31 | 2c 70 72 6f 6d 70 74 32 | prompt1|,prompt2|
|00001070| 0d 70 61 73 73 20 73 74 | 6f 70 0d 65 6e 64 20 73 |.pass st|op.end s|
|00001080| 74 6f 70 0d 0d 6f 6e 20 | 50 61 6c 65 74 74 65 20 |top..on |Palette |
|00001090| 74 68 65 50 61 6c 65 74 | 74 65 0d 67 6c 6f 62 61 |thePalet|te.globa|
|000010a0| 6c 20 53 74 6d 4e 61 6d | 65 0d 6d 65 6e 75 20 22 |l StmNam|e.menu "|
|000010b0| 43 68 65 63 6b 22 2c 53 | 74 6d 4e 61 6d 65 2c 22 |Check",S|tmName,"|
|000010c0| 50 61 6c 65 74 74 65 73 | 22 2c 74 68 65 50 61 6c |Palettes|",thePal|
|000010d0| 65 74 74 65 0d 70 61 73 | 73 20 50 61 6c 65 74 74 |ette.pas|s Palett|
|000010e0| 65 0d 65 6e 64 20 50 61 | 6c 65 74 74 65 0d 0d 6f |e.end Pa|lette..o|
|000010f0| 6e 20 63 6c 6f 73 65 50 | 61 6c 65 74 74 65 20 74 |n closeP|alette t|
|00001100| 68 65 50 61 6c 65 74 74 | 65 0d 67 6c 6f 62 61 6c |hePalett|e.global|
|00001110| 20 53 74 6d 4e 61 6d 65 | 0d 6d 65 6e 75 20 22 55 | StmName|.menu "U|
|00001120| 6e 63 68 65 63 6b 22 2c | 53 74 6d 4e 61 6d 65 2c |ncheck",|StmName,|
|00001130| 22 50 61 6c 65 74 74 65 | 73 22 2c 74 68 65 50 61 |"Palette|s",thePa|
|00001140| 6c 65 74 74 65 0d 70 61 | 73 73 20 63 6c 6f 73 65 |lette.pa|ss close|
|00001150| 50 61 6c 65 74 74 65 0d | 65 6e 64 20 63 6c 6f 73 |Palette.|end clos|
|00001160| 65 50 61 6c 65 74 74 65 | 0d 0d 6f 6e 20 64 6f 4d |ePalette|..on doM|
|00001170| 65 6e 75 20 74 68 65 4d | 65 6e 75 49 74 65 6d 2c |enu theM|enuItem,|
|00001180| 74 68 65 4d 65 6e 75 0d | 69 66 20 74 68 65 4d 65 |theMenu.|if theMe|
|00001190| 6e 75 20 69 73 20 22 53 | 74 61 63 6b 73 22 20 74 |nu is "S|tacks" t|
|000011a0| 68 65 6e 20 68 61 6e 64 | 6c 65 53 74 61 63 6b 73 |hen hand|leStacks|
|000011b0| 4d 65 6e 75 20 74 68 65 | 4d 65 6e 75 49 74 65 6d |Menu the|MenuItem|
|000011c0| 0d 65 6c 73 65 20 69 66 | 20 74 68 65 4d 65 6e 75 |.else if| theMenu|
|000011d0| 20 69 73 20 22 57 69 6e | 64 6f 77 73 22 20 74 68 | is "Win|dows" th|
|000011e0| 65 6e 20 68 61 6e 64 6c | 65 57 69 6e 64 6f 77 73 |en handl|eWindows|
|000011f0| 4d 65 6e 75 20 74 68 65 | 4d 65 6e 75 49 74 65 6d |Menu the|MenuItem|
|00001200| 0d 65 6c 73 65 20 69 66 | 20 74 68 65 4d 65 6e 75 |.else if| theMenu|
|00001210| 20 69 73 20 22 50 61 6c | 65 74 74 65 73 22 20 74 | is "Pal|ettes" t|
|00001220| 68 65 6e 20 68 61 6e 64 | 6c 65 50 61 6c 65 74 74 |hen hand|lePalett|
|00001230| 65 73 4d 65 6e 75 20 74 | 68 65 4d 65 6e 75 49 74 |esMenu t|heMenuIt|
|00001240| 65 6d 0d 65 6c 73 65 20 | 69 66 20 74 68 65 4d 65 |em.else |if theMe|
|00001250| 6e 75 20 69 73 20 22 53 | 74 61 63 6b 55 73 65 22 |nu is "S|tackUse"|
|00001260| 20 74 68 65 6e 20 68 61 | 6e 64 6c 65 53 74 61 63 | then ha|ndleStac|
|00001270| 6b 55 73 65 4d 65 6e 75 | 20 74 68 65 4d 65 6e 75 |kUseMenu| theMenu|
|00001280| 49 74 65 6d 0d 65 6c 73 | 65 20 69 66 20 74 68 65 |Item.els|e if the|
|00001290| 4d 65 6e 75 20 69 73 20 | 22 53 63 72 69 70 74 73 |Menu is |"Scripts|
|000012a0| 22 20 74 68 65 6e 20 68 | 61 6e 64 6c 65 53 63 72 |" then h|andleScr|
|000012b0| 69 70 74 73 4d 65 6e 75 | 20 74 68 65 4d 65 6e 75 |iptsMenu| theMenu|
|000012c0| 49 74 65 6d 0d 65 6c 73 | 65 20 69 66 20 74 68 65 |Item.els|e if the|
|000012d0| 4d 65 6e 75 20 69 73 20 | 22 55 74 69 6c 69 74 79 |Menu is |"Utility|
|000012e0| 20 53 74 61 63 6b 73 22 | 20 74 68 65 6e 20 68 61 | Stacks"| then ha|
|000012f0| 6e 64 6c 65 55 74 69 6c | 53 74 61 63 6b 73 4d 65 |ndleUtil|StacksMe|
|00001300| 6e 75 20 74 68 65 4d 65 | 6e 75 49 74 65 6d 0d 65 |nu theMe|nuItem.e|
|00001310| 6c 73 65 20 69 66 20 74 | 68 65 4d 65 6e 75 20 69 |lse if t|heMenu i|
|00001320| 73 20 22 4d 65 73 73 61 | 67 65 73 22 20 74 68 65 |s "Messa|ges" the|
|00001330| 6e 20 68 61 6e 64 6c 65 | 53 65 6e 64 4d 65 73 73 |n handle|SendMess|
|00001340| 4d 65 6e 75 20 74 68 65 | 4d 65 6e 75 49 74 65 6d |Menu the|MenuItem|
|00001350| 0d 65 6c 73 65 20 69 66 | 20 74 68 65 4d 65 6e 75 |.else if| theMenu|
|00001360| 20 69 73 20 22 48 6f 74 | 20 4b 65 79 73 22 20 6f | is "Hot| Keys" o|
|00001370| 72 20 74 68 65 4d 65 6e | 75 20 69 73 20 22 48 6f |r theMen|u is "Ho|
|00001380| 74 20 4b 65 79 73 20 13 | 22 20 74 68 65 6e 20 68 |t Keys .|" then h|
|00001390| 61 6e 64 6c 65 48 6f 74 | 4b 65 79 73 4d 65 6e 75 |andleHot|KeysMenu|
|000013a0| 20 74 68 65 4d 65 6e 75 | 49 74 65 6d 0d 65 6c 73 | theMenu|Item.els|
|000013b0| 65 20 69 66 20 74 68 65 | 4d 65 6e 75 20 69 73 20 |e if the|Menu is |
|000013c0| 22 4f 62 6a 65 63 74 73 | 20 22 20 74 68 65 6e 20 |"Objects| " then |
|000013d0| 68 61 6e 64 6c 65 4f 62 | 6a 65 63 74 73 4d 65 6e |handleOb|jectsMen|
|000013e0| 75 20 74 68 65 4d 65 6e | 75 49 74 65 6d 0d 65 6c |u theMen|uItem.el|
|000013f0| 73 65 20 69 66 20 74 68 | 65 4d 65 6e 75 20 69 73 |se if th|eMenu is|
|00001400| 20 22 43 61 72 64 20 50 | 72 6f 70 65 72 74 69 65 | "Card P|ropertie|
|00001410| 73 22 20 74 68 65 6e 20 | 68 61 6e 64 6c 65 43 64 |s" then |handleCd|
|00001420| 50 72 6f 70 4d 65 6e 75 | 20 74 68 65 4d 65 6e 75 |PropMenu| theMenu|
|00001430| 49 74 65 6d 0d 65 6c 73 | 65 20 69 66 20 74 68 65 |Item.els|e if the|
|00001440| 4d 65 6e 75 20 69 73 20 | 22 42 6b 67 6e 64 20 50 |Menu is |"Bkgnd P|
|00001450| 72 6f 70 65 72 74 69 65 | 73 22 20 74 68 65 6e 20 |ropertie|s" then |
|00001460| 68 61 6e 64 6c 65 42 67 | 50 72 6f 70 4d 65 6e 75 |handleBg|PropMenu|
|00001470| 20 74 68 65 4d 65 6e 75 | 49 74 65 6d 0d 65 6c 73 | theMenu|Item.els|
|00001480| 65 20 69 66 20 74 68 65 | 4d 65 6e 75 20 69 73 20 |e if the|Menu is |
|00001490| 22 53 74 61 63 6b 20 50 | 72 6f 70 65 72 74 69 65 |"Stack P|ropertie|
|000014a0| 73 22 20 74 68 65 6e 20 | 68 61 6e 64 6c 65 53 74 |s" then |handleSt|
|000014b0| 61 63 6b 50 72 6f 70 4d | 65 6e 75 20 74 68 65 4d |ackPropM|enu theM|
|000014c0| 65 6e 75 49 74 65 6d 0d | 65 6c 73 65 20 69 66 20 |enuItem.|else if |
|000014d0| 74 68 65 4d 65 6e 75 20 | 69 73 20 22 47 6c 6f 62 |theMenu |is "Glob|
|000014e0| 61 6c 20 50 72 6f 70 65 | 72 74 69 65 73 22 20 74 |al Prope|rties" t|
|000014f0| 68 65 6e 20 68 61 6e 64 | 6c 65 47 6c 6f 62 61 6c |hen hand|leGlobal|
|00001500| 50 72 6f 70 4d 65 6e 75 | 20 74 68 65 4d 65 6e 75 |PropMenu| theMenu|
|00001510| 49 74 65 6d 0d 65 6c 73 | 65 20 69 66 20 74 68 65 |Item.els|e if the|
|00001520| 4d 65 6e 75 20 69 73 20 | 22 55 73 65 72 4c 65 76 |Menu is |"UserLev|
|00001530| 65 6c 22 20 74 68 65 6e | 20 68 61 6e 64 6c 65 55 |el" then| handleU|
|00001540| 73 65 72 4c 65 76 65 6c | 4d 65 6e 75 20 74 68 65 |serLevel|Menu the|
|00001550| 4d 65 6e 75 49 74 65 6d | 0d 65 6c 73 65 20 69 66 |MenuItem|.else if|
|00001560| 20 74 68 65 4d 65 6e 75 | 20 69 73 20 22 4d 65 6e | theMenu| is "Men|
|00001570| 75 22 20 74 68 65 6e 20 | 68 61 6e 64 6c 65 4d 65 |u" then |handleMe|
|00001580| 6e 75 4d 65 6e 75 20 74 | 68 65 4d 65 6e 75 49 74 |nuMenu t|heMenuIt|
|00001590| 65 6d 0d 65 6c 73 65 20 | 69 66 20 74 68 65 4d 65 |em.else |if theMe|
|000015a0| 6e 75 49 74 65 6d 20 69 | 73 20 22 43 6f 6d 70 61 |nuItem i|s "Compa|
|000015b0| 63 74 20 53 74 61 63 6b | 22 20 74 68 65 6e 0d 73 |ct Stack|" then.s|
|000015c0| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 77 61 74 |et curso|r to wat|
|000015d0| 63 68 0d 69 66 20 74 68 | 65 20 76 61 6c 75 65 20 |ch.if th|e value |
|000015e0| 6f 66 20 77 6f 72 64 20 | 32 20 6f 66 20 74 68 65 |of word |2 of the|
|000015f0| 20 6c 6f 6e 67 20 6e 61 | 6d 65 20 6f 66 20 74 68 | long na|me of th|
|00001600| 69 73 20 73 74 61 63 6b | 20 69 73 20 69 6e 20 74 |is stack| is in t|
|00001610| 68 65 20 73 74 61 63 6b | 73 49 6e 55 73 65 20 74 |he stack|sInUse t|
|00001620| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 59 6f 75 20 |hen.answ|er "You |
|00001630| 63 61 6e 27 74 20 63 6f | 6d 70 61 63 74 20 74 68 |can't co|mpact th|
|00001640| 69 73 20 73 74 61 63 6b | 20 77 68 69 6c 65 20 69 |is stack| while i|
|00001650| 74 20 69 73 20 69 6e 20 | 75 73 65 2e 22 20 26 26 |t is in |use." &&|
|00001660| 20 c2 0d 22 44 6f 20 79 | 6f 75 20 77 61 6e 74 20 | .."Do y|ou want |
|00001670| 74 6f 20 73 74 6f 70 20 | 75 73 69 6e 67 20 74 68 |to stop |using th|
|00001680| 69 73 20 73 74 61 63 6b | 3f 22 20 26 20 72 65 74 |is stack|?" & ret|
|00001690| 75 72 6e 20 77 69 74 68 | 20 22 53 74 6f 70 20 55 |urn with| "Stop U|
|000016a0| 73 69 6e 67 22 20 6f 72 | 20 22 43 61 6e 63 65 6c |sing" or| "Cancel|
|000016b0| 22 0d 69 66 20 28 69 74 | 20 69 73 20 65 6d 70 74 |".if (it| is empt|
|000016c0| 79 29 20 6f 72 20 28 69 | 74 20 69 73 20 22 43 61 |y) or (i|t is "Ca|
|000016d0| 6e 63 65 6c 22 29 20 74 | 68 65 6e 0d 65 78 69 74 |ncel") t|hen.exit|
|000016e0| 20 64 6f 4d 65 6e 75 0d | 65 6c 73 65 0d 69 66 20 | doMenu.|else.if |
|000016f0| 73 74 61 63 6b 54 6f 6f | 6c 73 53 74 61 63 6b 28 |stackToo|lsStack(|
|00001700| 74 68 65 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |the shor|t name o|
|00001710| 66 20 74 68 69 73 20 73 | 74 61 63 6b 29 20 74 68 |f this s|tack) th|
|00001720| 65 6e 0d 73 74 6f 70 55 | 73 69 6e 67 4e 6f 74 65 |en.stopU|singNote|
|00001730| 0d 65 78 69 74 20 64 6f | 4d 65 6e 75 0d 65 6c 73 |.exit do|Menu.els|
|00001740| 65 0d 73 74 6f 70 55 73 | 69 6e 67 53 74 61 63 6b |e.stopUs|ingStack|
|00001750| 20 77 6f 72 64 20 32 20 | 6f 66 20 74 68 65 20 6c | word 2 |of the l|
|00001760| 6f 6e 67 20 6e 61 6d 65 | 20 6f 66 20 74 68 69 73 |ong name| of this|
|00001770| 20 73 74 61 63 6b 0d 70 | 61 73 73 20 64 6f 4d 65 | stack.p|ass doMe|
|00001780| 6e 75 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |nu.end i|f.end if|
|00001790| 0d 65 6c 73 65 20 70 61 | 73 73 20 64 6f 4d 65 6e |.else pa|ss doMen|
|000017a0| 75 0d 65 6c 73 65 20 70 | 61 73 73 20 64 6f 4d 65 |u.else p|ass doMe|
|000017b0| 6e 75 0d 65 6e 64 20 64 | 6f 4d 65 6e 75 0d 0d 6f |nu.end d|oMenu..o|
|000017c0| 6e 20 68 61 6e 64 6c 65 | 53 74 61 63 6b 73 4d 65 |n handle|StacksMe|
|000017d0| 6e 75 20 74 68 65 49 74 | 65 6d 0d 67 6c 6f 62 61 |nu theIt|em.globa|
|000017e0| 6c 20 53 74 6d 4e 61 6d | 65 2c 4e 65 77 57 69 6e |l StmNam|e,NewWin|
|000017f0| 64 6f 77 50 72 65 66 0d | 70 75 74 20 28 74 68 65 |dowPref.|put (the|
|00001800| 20 6f 70 74 69 6f 6e 4b | 65 79 20 69 73 20 64 6f | optionK|ey is do|
|00001810| 77 6e 29 20 69 6e 74 6f | 20 6f 70 74 69 6f 6e 4b |wn) into| optionK|
|00001820| 65 79 44 6f 77 6e 0d 70 | 75 74 20 28 74 68 65 20 |eyDown.p|ut (the |
|00001830| 73 68 69 66 74 4b 65 79 | 20 69 73 20 64 6f 77 6e |shiftKey| is down|
|00001840| 29 20 69 6e 74 6f 20 73 | 68 69 66 74 4b 65 79 44 |) into s|hiftKeyD|
|00001850| 6f 77 6e 0d 69 66 20 74 | 68 65 49 74 65 6d 20 69 |own.if t|heItem i|
|00001860| 73 20 22 43 6c 65 61 72 | 20 4c 69 73 74 22 20 74 |s "Clear| List" t|
|00001870| 68 65 6e 0d 63 6c 65 61 | 72 53 74 61 63 6b 73 4c |hen.clea|rStacksL|
|00001880| 69 73 74 0d 65 6c 73 65 | 0d 4d 65 6e 75 20 22 47 |ist.else|.Menu "G|
|00001890| 65 74 53 74 79 6c 65 22 | 2c 53 74 6d 4e 61 6d 65 |etStyle"|,StmName|
|000018a0| 2c 22 53 74 61 63 6b 73 | 22 2c 74 68 65 49 74 65 |,"Stacks|",theIte|
|000018b0| 6d 0d 70 75 74 20 28 74 | 68 65 20 72 65 73 75 6c |m.put (t|he resul|
|000018c0| 74 20 ad 20 22 49 22 29 | 20 69 6e 74 6f 20 53 74 |t . "I")| into St|
|000018d0| 61 63 6b 49 73 4f 70 65 | 6e 0d 69 66 20 73 68 69 |ackIsOpe|n.if shi|
|000018e0| 66 74 4b 65 79 44 6f 77 | 6e 20 61 6e 64 20 28 6e |ftKeyDow|n and (n|
|000018f0| 6f 74 20 73 74 61 63 6b | 49 73 4f 70 65 6e 29 20 |ot stack|IsOpen) |
|00001900| 74 68 65 6e 0d 4d 65 6e | 75 20 22 52 65 6d 6f 76 |then.Men|u "Remov|
|00001910| 65 22 2c 53 74 6d 4e 61 | 6d 65 2c 22 53 74 61 63 |e",StmNa|me,"Stac|
|00001920| 6b 73 22 2c 74 68 65 49 | 74 65 6d 0d 61 64 64 54 |ks",theI|tem.addT|
|00001930| 6f 53 74 61 63 6b 73 0d | 65 78 69 74 20 68 61 6e |oStacks.|exit han|
|00001940| 64 6c 65 53 74 61 63 6b | 73 4d 65 6e 75 0d 65 6e |dleStack|sMenu.en|
|00001950| 64 20 69 66 0d 69 66 20 | 6f 70 74 69 6f 6e 4b 65 |d if.if |optionKe|
|00001960| 79 44 6f 77 6e 20 74 68 | 65 6e 0d 69 66 20 4e 65 |yDown th|en.if Ne|
|00001970| 77 57 69 6e 64 6f 77 50 | 72 65 66 20 74 68 65 6e |wWindowP|ref then|
|00001980| 20 67 6f 20 73 74 61 63 | 6b 20 74 68 65 49 74 65 | go stac|k theIte|
|00001990| 6d 0d 65 6c 73 65 20 67 | 6f 20 73 74 61 63 6b 20 |m.else g|o stack |
|000019a0| 74 68 65 49 74 65 6d 20 | 69 6e 20 6e 65 77 20 77 |theItem |in new w|
|000019b0| 69 6e 64 6f 77 0d 65 6c | 73 65 0d 69 66 20 4e 65 |indow.el|se.if Ne|
|000019c0| 77 57 69 6e 64 6f 77 50 | 72 65 66 20 74 68 65 6e |wWindowP|ref then|
|000019d0| 20 67 6f 20 73 74 61 63 | 6b 20 74 68 65 49 74 65 | go stac|k theIte|
|000019e0| 6d 20 69 6e 20 6e 65 77 | 20 77 69 6e 64 6f 77 0d |m in new| window.|
|000019f0| 65 6c 73 65 20 67 6f 20 | 73 74 61 63 6b 20 74 68 |else go |stack th|
|00001a00| 65 49 74 65 6d 0d 65 6e | 64 20 69 66 0d 69 66 20 |eItem.en|d if.if |
|00001a10| 73 68 69 66 74 4b 65 79 | 44 6f 77 6e 20 61 6e 64 |shiftKey|Down and|
|00001a20| 20 73 74 61 63 6b 49 73 | 4f 70 65 6e 20 74 68 65 | stackIs|Open the|
|00001a30| 6e 20 64 6f 4d 65 6e 75 | 20 22 43 6c 6f 73 65 20 |n doMenu| "Close |
|00001a40| 53 74 61 63 6b 22 0d 65 | 6e 64 20 69 66 0d 65 6e |Stack".e|nd if.en|
|00001a50| 64 20 68 61 6e 64 6c 65 | 53 74 61 63 6b 73 4d 65 |d handle|StacksMe|
|00001a60| 6e 75 0d 0d 6f 6e 20 68 | 61 6e 64 6c 65 57 69 6e |nu..on h|andleWin|
|00001a70| 64 6f 77 73 4d 65 6e 75 | 20 74 68 65 49 74 65 6d |dowsMenu| theItem|
|00001a80| 0d 69 66 20 74 68 65 49 | 74 65 6d 20 69 73 20 22 |.if theI|tem is "|
|00001a90| 4c 69 73 74 20 57 69 6e | 64 6f 77 73 2e 2e 2e 22 |List Win|dows..."|
|00001aa0| 20 74 68 65 6e 20 77 69 | 6e 64 6f 77 4c 69 73 74 | then wi|ndowList|
|00001ab0| 0d 65 6c 73 65 20 69 66 | 20 74 68 65 49 74 65 6d |.else if| theItem|
|00001ac0| 20 69 73 20 22 43 6c 6f | 73 65 20 53 74 61 63 6b | is "Clo|se Stack|
|00001ad0| 73 22 20 74 68 65 6e 20 | 63 6c 6f 73 65 53 74 61 |s" then |closeSta|
|00001ae0| 63 6b 57 69 6e 64 6f 77 | 73 0d 65 6c 73 65 20 69 |ckWindow|s.else i|
|00001af0| 66 20 74 68 65 49 74 65 | 6d 20 69 73 20 22 4f 70 |f theIte|m is "Op|
|00001b00| 65 6e 20 50 69 63 74 75 | 72 65 2e 2e 2e 22 20 74 |en Pictu|re..." t|
|00001b10| 68 65 6e 20 70 69 63 74 | 75 72 65 0d 65 6c 73 65 |hen pict|ure.else|
|00001b20| 20 69 66 20 74 68 65 49 | 74 65 6d 20 69 73 20 22 | if theI|tem is "|
|00001b30| 57 69 6e 64 6f 77 20 49 | 6e 66 6f 2e 2e 2e 22 20 |Window I|nfo..." |
|00001b40| 74 68 65 6e 20 77 69 6e | 64 6f 77 49 6e 66 6f 0d |then win|dowInfo.|
|00001b50| 65 6c 73 65 20 69 66 20 | 74 68 65 49 74 65 6d 20 |else if |theItem |
|00001b60| 69 73 20 22 43 65 6e 74 | 65 72 20 57 69 6e 64 6f |is "Cent|er Windo|
|00001b70| 77 22 20 74 68 65 6e 20 | 72 65 61 6c 69 67 6e 57 |w" then |realignW|
|00001b80| 69 6e 64 6f 77 20 63 65 | 6e 74 65 72 0d 65 6c 73 |indow ce|nter.els|
|00001b90| 65 20 69 66 20 74 68 65 | 49 74 65 6d 20 69 73 20 |e if the|Item is |
|00001ba0| 22 43 6c 65 61 6e 20 55 | 70 20 57 69 6e 64 6f 77 |"Clean U|p Window|
|00001bb0| 73 22 20 74 68 65 6e 20 | 63 61 73 63 61 64 65 0d |s" then |cascade.|
|00001bc0| 65 6c 73 65 20 69 66 20 | 74 68 65 49 74 65 6d 20 |else if |theItem |
|00001bd0| 69 73 20 22 53 68 6f 77 | 20 43 61 72 64 20 58 59 |is "Show| Card XY|
|00001be0| 22 20 74 68 65 6e 20 73 | 68 6f 77 43 61 72 64 58 |" then s|howCardX|
|00001bf0| 59 0d 65 6c 73 65 20 69 | 66 20 74 68 65 49 74 65 |Y.else i|f theIte|
|00001c00| 6d 20 69 73 20 22 53 68 | 6f 77 20 53 63 72 65 65 |m is "Sh|ow Scree|
|00001c10| 6e 20 58 59 22 20 74 68 | 65 6e 20 73 68 6f 77 53 |n XY" th|en showS|
|00001c20| 63 72 65 65 6e 58 59 0d | 65 6e 64 20 68 61 6e 64 |creenXY.|end hand|
|00001c30| 6c 65 57 69 6e 64 6f 77 | 73 4d 65 6e 75 0d 0d 6f |leWindow|sMenu..o|
|00001c40| 6e 20 68 61 6e 64 6c 65 | 50 61 6c 65 74 74 65 73 |n handle|Palettes|
|00001c50| 4d 65 6e 75 20 74 68 65 | 49 74 65 6d 0d 67 6c 6f |Menu the|Item.glo|
|00001c60| 62 61 6c 20 53 74 6d 4e | 61 6d 65 0d 69 66 20 74 |bal StmN|ame.if t|
|00001c70| 68 65 72 65 20 69 73 20 | 61 20 77 69 6e 64 6f 77 |here is |a window|
|00001c80| 20 74 68 65 49 74 65 6d | 20 74 68 65 6e 0d 63 6c | theItem| then.cl|
|00001c90| 6f 73 65 20 77 69 6e 64 | 6f 77 20 74 68 65 49 74 |ose wind|ow theIt|
|00001ca0| 65 6d 0d 65 6c 73 65 0d | 70 61 6c 65 74 74 65 20 |em.else.|palette |
|00001cb0| 74 68 65 49 74 65 6d 0d | 65 6e 64 20 69 66 0d 65 |theItem.|end if.e|
|00001cc0| 6e 64 20 68 61 6e 64 6c | 65 50 61 6c 65 74 74 65 |nd handl|ePalette|
|00001cd0| 73 4d 65 6e 75 0d 0d 6f | 6e 20 68 61 6e 64 6c 65 |sMenu..o|n handle|
|00001ce0| 53 65 6e 64 4d 65 73 73 | 4d 65 6e 75 20 74 68 65 |SendMess|Menu the|
|00001cf0| 49 74 65 6d 0d 67 6c 6f | 62 61 6c 20 53 74 6d 4e |Item.glo|bal StmN|
|00001d00| 61 6d 65 2c 4d 65 73 73 | 61 67 65 4c 69 73 74 0d |ame,Mess|ageList.|
|00001d10| 69 66 20 74 68 65 49 74 | 65 6d 20 69 73 20 22 41 |if theIt|em is "A|
|00001d20| 64 64 20 4d 65 73 73 61 | 67 65 2e 2e 2e 22 20 74 |dd Messa|ge..." t|
|00001d30| 68 65 6e 20 61 64 64 53 | 65 6e 64 4d 65 73 73 49 |hen addS|endMessI|
|00001d40| 74 65 6d 0d 65 6c 73 65 | 20 69 66 20 74 68 65 49 |tem.else| if theI|
|00001d50| 74 65 6d 20 69 73 20 22 | 45 64 69 74 20 4d 65 73 |tem is "|Edit Mes|
|00001d60| 73 61 67 65 73 2e 2e 2e | 22 20 74 68 65 6e 20 65 |sages...|" then e|
|00001d70| 64 69 74 53 65 6e 64 4d | 65 73 73 49 74 65 6d 0d |ditSendM|essItem.|
|00001d80| 65 6c 73 65 20 69 66 20 | 74 68 65 49 74 65 6d 20 |else if |theItem |
|00001d90| 69 73 20 22 43 6c 65 61 | 72 20 41 6c 6c 20 4d 65 |is "Clea|r All Me|
|00001da0| 73 73 61 67 65 73 22 20 | 74 68 65 6e 20 63 6c 65 |ssages" |then cle|
|00001db0| 61 72 53 65 6e 64 4d 65 | 73 73 49 74 65 6d 0d 65 |arSendMe|ssItem.e|
|00001dc0| 6c 73 65 0d 70 75 74 20 | 28 74 68 65 20 6f 70 74 |lse.put |(the opt|
|00001dd0| 69 6f 6e 4b 65 79 20 69 | 73 20 64 6f 77 6e 29 20 |ionKey i|s down) |
|00001de0| 69 6e 74 6f 20 6f 70 74 | 69 6f 6e 4b 65 79 44 6f |into opt|ionKeyDo|
|00001df0| 77 6e 0d 6d 65 6e 75 20 | 22 46 69 6e 64 22 2c 74 |wn.menu |"Find",t|
|00001e00| 68 65 49 74 65 6d 0d 67 | 65 74 20 74 68 65 20 72 |heItem.g|et the r|
|00001e10| 65 73 75 6c 74 0d 69 66 | 20 74 68 65 20 6e 75 6d |esult.if| the num|
|00001e20| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 69 6e 20 |ber of l|ines in |
|00001e30| 69 74 20 3d 20 31 20 74 | 68 65 6e 0d 69 66 20 6e |it = 1 t|hen.if n|
|00001e40| 6f 74 20 6f 70 74 69 6f | 6e 4b 65 79 44 6f 77 6e |ot optio|nKeyDown|
|00001e50| 20 74 68 65 6e 20 73 65 | 6e 64 54 68 65 4d 65 73 | then se|ndTheMes|
|00001e60| 73 61 67 65 20 28 6c 69 | 6e 65 20 28 69 74 65 6d |sage (li|ne (item|
|00001e70| 20 33 20 6f 66 20 69 74 | 29 20 6f 66 20 4d 65 73 | 3 of it|) of Mes|
|00001e80| 73 61 67 65 4c 69 73 74 | 29 0d 65 6c 73 65 20 64 |sageList|).else d|
|00001e90| 6f 45 64 69 74 53 65 6e | 64 4d 65 73 73 49 74 65 |oEditSen|dMessIte|
|00001ea0| 6d 20 28 69 74 65 6d 20 | 33 20 6f 66 20 69 74 29 |m (item |3 of it)|
|00001eb0| 0d 65 6c 73 65 20 69 66 | 20 74 68 65 20 6e 75 6d |.else if| the num|
|00001ec0| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 69 6e 20 |ber of l|ines in |
|00001ed0| 69 74 20 3e 20 31 20 74 | 68 65 6e 0d 70 75 74 20 |it > 1 t|hen.put |
|00001ee0| 69 74 20 69 6e 74 6f 20 | 74 68 65 43 68 6f 69 63 |it into |theChoic|
|00001ef0| 65 73 0d 69 66 20 6f 70 | 74 69 6f 6e 4b 65 79 44 |es.if op|tionKeyD|
|00001f00| 6f 77 6e 20 69 73 20 74 | 72 75 65 20 74 68 65 6e |own is t|rue then|
|00001f10| 20 70 75 74 20 22 45 64 | 69 74 22 20 69 6e 74 6f | put "Ed|it" into|
|00001f20| 20 74 68 65 42 75 74 74 | 6f 6e 0d 65 6c 73 65 20 | theButt|on.else |
|00001f30| 70 75 74 20 22 53 65 6e | 64 22 20 69 6e 74 6f 20 |put "Sen|d" into |
|00001f40| 74 68 65 42 75 74 74 6f | 6e 0d 61 6e 73 77 65 72 |theButto|n.answer|
|00001f50| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 6c | the num|ber of l|
|00001f60| 69 6e 65 73 20 69 6e 20 | 74 68 65 43 68 6f 69 63 |ines in |theChoic|
|00001f70| 65 73 20 26 26 20 22 6d | 65 73 73 61 67 65 73 20 |es && "m|essages |
|00001f80| 77 65 72 65 20 66 6f 75 | 6e 64 2e 20 44 6f 20 79 |were fou|nd. Do y|
|00001f90| 6f 75 20 77 61 6e 74 20 | 74 6f 20 63 68 6f 6f 73 |ou want |to choos|
|00001fa0| 65 20 74 68 65 20 6d 65 | 73 73 61 67 65 3f 22 20 |e the me|ssage?" |
|00001fb0| c2 0d 77 69 74 68 20 22 | 43 61 6e 63 65 6c 22 20 |..with "|Cancel" |
|00001fc0| 6f 72 20 22 43 68 6f 6f | 73 65 22 0d 69 66 20 69 |or "Choo|se".if i|
|00001fd0| 74 20 69 73 20 22 43 61 | 6e 63 65 6c 22 20 74 68 |t is "Ca|ncel" th|
|00001fe0| 65 6e 20 65 78 69 74 20 | 68 61 6e 64 6c 65 53 65 |en exit |handleSe|
|00001ff0| 6e 64 4d 65 73 73 4d 65 | 6e 75 0d 72 65 70 65 61 |ndMessMe|nu.repea|
|00002000| 74 20 77 69 74 68 20 63 | 6f 75 6e 74 20 3d 20 31 |t with c|ount = 1|
|00002010| 20 74 6f 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 | to numb|er of li|
|00002020| 6e 65 73 20 69 6e 20 74 | 68 65 43 68 6f 69 63 65 |nes in t|heChoice|
|00002030| 73 0d 70 75 74 20 6c 69 | 6e 65 20 28 69 74 65 6d |s.put li|ne (item|
|00002040| 20 33 20 6f 66 20 6c 69 | 6e 65 20 63 6f 75 6e 74 | 3 of li|ne count|
|00002050| 20 6f 66 20 74 68 65 43 | 68 6f 69 63 65 73 29 20 | of theC|hoices) |
|00002060| 6f 66 20 4d 65 73 73 61 | 67 65 4c 69 73 74 20 69 |of Messa|geList i|
|00002070| 6e 74 6f 20 74 68 65 4d | 65 73 73 61 67 65 0d 61 |nto theM|essage.a|
|00002080| 6e 73 77 65 72 20 22 4d | 65 73 73 61 67 65 22 20 |nswer "M|essage" |
|00002090| 26 26 20 63 6f 75 6e 74 | 20 26 20 22 3a 22 20 26 |&& count| & ":" &|
|000020a0| 20 72 65 74 75 72 6e 20 | 26 20 64 72 61 77 44 67 | return |& drawDg|
|000020b0| 4c 69 6e 65 28 29 20 26 | 20 72 65 74 75 72 6e 20 |Line() &| return |
|000020c0| 26 20 72 65 74 75 72 6e | 20 26 20 c2 0d 74 68 65 |& return| & ..the|
|000020d0| 4d 65 73 73 61 67 65 20 | 26 20 72 65 74 75 72 6e |Message |& return|
|000020e0| 20 26 20 72 65 74 75 72 | 6e 20 77 69 74 68 20 22 | & retur|n with "|
|000020f0| 43 61 6e 63 65 6c 22 20 | 6f 72 20 22 4e 65 78 74 |Cancel" |or "Next|
|00002100| 22 20 6f 72 20 74 68 65 | 42 75 74 74 6f 6e 0d 69 |" or the|Button.i|
|00002110| 66 20 69 74 20 69 73 20 | 22 43 61 6e 63 65 6c 22 |f it is |"Cancel"|
|00002120| 20 74 68 65 6e 20 65 78 | 69 74 20 68 61 6e 64 6c | then ex|it handl|
|00002130| 65 53 65 6e 64 4d 65 73 | 73 4d 65 6e 75 0d 69 66 |eSendMes|sMenu.if|
|00002140| 20 69 74 20 69 73 20 22 | 4e 65 78 74 22 20 74 68 | it is "|Next" th|
|00002150| 65 6e 20 6e 65 78 74 20 | 72 65 70 65 61 74 0d 69 |en next |repeat.i|
|00002160| 66 20 6e 6f 74 20 6f 70 | 74 69 6f 6e 4b 65 79 44 |f not op|tionKeyD|
|00002170| 6f 77 6e 20 74 68 65 6e | 20 73 65 6e 64 54 68 65 |own then| sendThe|
|00002180| 4d 65 73 73 61 67 65 20 | 28 6c 69 6e 65 20 28 69 |Message |(line (i|
|00002190| 74 65 6d 20 33 20 6f 66 | 20 6c 69 6e 65 20 63 6f |tem 3 of| line co|
|000021a0| 75 6e 74 20 6f 66 20 74 | 68 65 43 68 6f 69 63 65 |unt of t|heChoice|
|000021b0| 73 29 20 6f 66 20 4d 65 | 73 73 61 67 65 4c 69 73 |s) of Me|ssageLis|
|000021c0| 74 29 0d 65 6c 73 65 20 | 64 6f 45 64 69 74 53 65 |t).else |doEditSe|
|000021d0| 6e 64 4d 65 73 73 49 74 | 65 6d 20 28 69 74 65 6d |ndMessIt|em (item|
|000021e0| 20 33 20 6f 66 20 6c 69 | 6e 65 20 63 6f 75 6e 74 | 3 of li|ne count|
|000021f0| 20 6f 66 20 74 68 65 43 | 68 6f 69 63 65 73 29 0d | of theC|hoices).|
|00002200| 65 78 69 74 20 68 61 6e | 64 6c 65 53 65 6e 64 4d |exit han|dleSendM|
|00002210| 65 73 73 4d 65 6e 75 0d | 65 6e 64 20 72 65 70 65 |essMenu.|end repe|
|00002220| 61 74 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |at.end i|f.end if|
|00002230| 0d 65 6e 64 20 68 61 6e | 64 6c 65 53 65 6e 64 4d |.end han|dleSendM|
|00002240| 65 73 73 4d 65 6e 75 0d | 0d 6f 6e 20 68 61 6e 64 |essMenu.|.on hand|
|00002250| 6c 65 53 74 61 63 6b 55 | 73 65 4d 65 6e 75 20 74 |leStackU|seMenu t|
|00002260| 68 65 49 74 65 6d 0d 69 | 66 20 74 68 65 49 74 65 |heItem.i|f theIte|
|00002270| 6d 20 69 73 20 22 53 74 | 61 72 74 20 55 73 69 6e |m is "St|art Usin|
|00002280| 67 22 20 74 68 65 6e 0d | 69 66 20 74 68 65 20 6f |g" then.|if the o|
|00002290| 70 74 69 6f 6e 4b 65 79 | 20 69 73 20 64 6f 77 6e |ptionKey| is down|
|000022a0| 20 74 68 65 6e 20 73 74 | 61 72 74 55 73 69 6e 67 | then st|artUsing|
|000022b0| 0d 65 6c 73 65 20 73 74 | 61 72 74 55 73 69 6e 67 |.else st|artUsing|
|000022c0| 43 75 72 72 65 6e 74 0d | 65 6c 73 65 20 69 66 20 |Current.|else if |
|000022d0| 74 68 65 49 74 65 6d 20 | 69 73 20 22 53 74 6f 70 |theItem |is "Stop|
|000022e0| 20 55 73 69 6e 67 2e 2e | 2e 22 20 74 68 65 6e 20 | Using..|." then |
|000022f0| 73 74 6f 70 55 73 69 6e | 67 0d 65 6c 73 65 20 69 |stopUsin|g.else i|
|00002300| 66 20 74 68 65 49 74 65 | 6d 20 69 73 20 22 55 70 |f theIte|m is "Up|
|00002310| 64 61 74 65 20 4c 69 73 | 74 22 20 74 68 65 6e 20 |date Lis|t" then |
|00002320| 75 70 64 61 74 65 53 74 | 61 63 6b 73 49 6e 55 73 |updateSt|acksInUs|
|00002330| 65 0d 65 6c 73 65 0d 69 | 66 20 74 68 65 20 6f 70 |e.else.i|f the op|
|00002340| 74 69 6f 6e 4b 65 79 20 | 69 73 20 64 6f 77 6e 20 |tionKey |is down |
|00002350| 74 68 65 6e 20 73 74 6f | 70 55 73 69 6e 67 53 74 |then sto|pUsingSt|
|00002360| 61 63 6b 20 74 68 65 49 | 74 65 6d 0d 65 6c 73 65 |ack theI|tem.else|
|00002370| 20 67 6f 20 73 74 61 63 | 6b 20 74 68 65 49 74 65 | go stac|k theIte|
|00002380| 6d 20 69 6e 20 6e 65 77 | 20 77 69 6e 64 6f 77 0d |m in new| window.|
|00002390| 65 6e 64 20 69 66 0d 65 | 6e 64 20 68 61 6e 64 6c |end if.e|nd handl|
|000023a0| 65 53 74 61 63 6b 55 73 | 65 4d 65 6e 75 0d 0d 6f |eStackUs|eMenu..o|
|000023b0| 6e 20 68 61 6e 64 6c 65 | 53 63 72 69 70 74 73 4d |n handle|ScriptsM|
|000023c0| 65 6e 75 20 74 68 65 49 | 74 65 6d 0d 69 66 20 77 |enu theI|tem.if w|
|000023d0| 6f 72 64 20 31 20 6f 66 | 20 74 68 65 49 74 65 6d |ord 1 of| theItem|
|000023e0| 20 69 73 20 22 45 64 69 | 74 22 20 74 68 65 6e 0d | is "Edi|t" then.|
|000023f0| 69 66 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |if the n|umber of|
|00002400| 20 77 6f 72 64 73 20 69 | 6e 20 74 68 65 49 74 65 | words i|n theIte|
|00002410| 6d 20 69 73 20 33 20 74 | 68 65 6e 20 67 65 74 20 |m is 3 t|hen get |
|00002420| 77 6f 72 64 20 32 20 6f | 66 20 74 68 65 49 74 65 |word 2 o|f theIte|
|00002430| 6d 0d 65 6c 73 65 20 67 | 65 74 20 77 6f 72 64 20 |m.else g|et word |
|00002440| 32 20 74 6f 20 33 20 6f | 66 20 74 68 65 49 74 65 |2 to 3 o|f theIte|
|00002450| 6d 0d 6f 70 65 6e 54 68 | 65 53 63 72 69 70 74 20 |m.openTh|eScript |
|00002460| 69 74 2c 74 68 65 20 6f | 70 74 69 6f 6e 4b 65 79 |it,the o|ptionKey|
|00002470| 20 69 73 20 64 6f 77 6e | 0d 65 6c 73 65 20 69 66 | is down|.else if|
|00002480| 20 74 68 65 49 74 65 6d | 20 69 73 20 22 4c 69 73 | theItem| is "Lis|
|00002490| 74 20 53 63 72 69 70 74 | 73 2e 2e 2e 22 20 74 68 |t Script|s..." th|
|000024a0| 65 6e 20 64 6f 53 63 72 | 69 70 74 4c 69 73 74 0d |en doScr|iptList.|
|000024b0| 65 6c 73 65 20 69 66 20 | 74 68 65 49 74 65 6d 20 |else if |theItem |
|000024c0| 69 73 20 22 53 65 61 72 | 63 68 20 53 63 72 69 70 |is "Sear|ch Scrip|
|000024d0| 74 73 2e 2e 2e 22 20 74 | 68 65 6e 20 73 65 61 72 |ts..." t|hen sear|
|000024e0| 63 68 53 63 72 69 70 74 | 73 0d 65 6c 73 65 20 69 |chScript|s.else i|
|000024f0| 66 20 74 68 65 49 74 65 | 6d 20 69 73 20 22 53 63 |f theIte|m is "Sc|
|00002500| 72 69 70 74 73 20 52 65 | 70 6f 72 74 2e 2e 2e 22 |ripts Re|port..."|
|00002510| 20 74 68 65 6e 20 6c 69 | 73 74 48 61 6e 64 6c 65 | then li|stHandle|
|00002520| 72 73 0d 65 6c 73 65 20 | 69 66 20 74 68 65 49 74 |rs.else |if theIt|
|00002530| 65 6d 20 69 73 20 22 45 | 78 70 6f 72 74 20 53 63 |em is "E|xport Sc|
|00002540| 72 69 70 74 73 2e 2e 2e | 22 20 74 68 65 6e 20 64 |ripts...|" then d|
|00002550| 6f 45 78 70 6f 72 74 53 | 63 72 69 70 74 0d 65 6c |oExportS|cript.el|
|00002560| 73 65 20 69 66 20 74 68 | 65 49 74 65 6d 20 69 73 |se if th|eItem is|
|00002570| 20 22 53 65 74 20 53 63 | 72 69 70 74 20 46 6f 6e | "Set Sc|ript Fon|
|00002580| 74 2e 2e 2e 22 20 74 68 | 65 6e 20 73 65 74 53 63 |t..." th|en setSc|
|00002590| 72 69 70 74 54 65 78 74 | 0d 65 6c 73 65 20 69 66 |riptText|.else if|
|000025a0| 20 74 68 65 49 74 65 6d | 20 69 73 20 22 56 61 72 | theItem| is "Var|
|000025b0| 69 61 62 6c 65 20 57 61 | 74 63 68 65 72 22 20 6f |iable Wa|tcher" o|
|000025c0| 72 20 74 68 65 49 74 65 | 6d 20 69 73 20 22 4d 65 |r theIte|m is "Me|
|000025d0| 73 73 61 67 65 20 57 61 | 74 63 68 65 72 22 20 74 |ssage Wa|tcher" t|
|000025e0| 68 65 6e 0d 73 65 74 20 | 74 68 65 20 76 69 73 69 |hen.set |the visi|
|000025f0| 62 6c 65 20 6f 66 20 77 | 69 6e 64 6f 77 20 74 68 |ble of w|indow th|
|00002600| 65 49 74 65 6d 20 74 6f | 20 6e 6f 74 20 74 68 65 |eItem to| not the|
|00002610| 20 76 69 73 69 62 6c 65 | 20 6f 66 20 77 69 6e 64 | visible| of wind|
|00002620| 6f 77 20 74 68 65 49 74 | 65 6d 0d 65 6e 64 20 69 |ow theIt|em.end i|
|00002630| 66 0d 65 6e 64 20 68 61 | 6e 64 6c 65 53 63 72 69 |f.end ha|ndleScri|
|00002640| 70 74 73 4d 65 6e 75 0d | 0d 6f 6e 20 68 61 6e 64 |ptsMenu.|.on hand|
|00002650| 6c 65 55 74 69 6c 53 74 | 61 63 6b 73 4d 65 6e 75 |leUtilSt|acksMenu|
|00002660| 20 74 68 65 49 74 65 6d | 0d 67 6c 6f 62 61 6c 20 | theItem|.global |
|00002670| 55 74 69 6c 4e 65 77 57 | 69 6e 64 6f 77 50 72 65 |UtilNewW|indowPre|
|00002680| 66 0d 69 66 20 74 68 65 | 20 6f 70 74 69 6f 6e 4b |f.if the| optionK|
|00002690| 65 79 20 69 73 20 64 6f | 77 6e 20 74 68 65 6e 0d |ey is do|wn then.|
|000026a0| 69 66 20 55 74 69 6c 4e | 65 77 57 69 6e 64 6f 77 |if UtilN|ewWindow|
|000026b0| 50 72 65 66 20 74 68 65 | 6e 20 67 6f 20 73 74 61 |Pref the|n go sta|
|000026c0| 63 6b 20 74 68 65 49 74 | 65 6d 0d 65 6c 73 65 20 |ck theIt|em.else |
|000026d0| 67 6f 20 73 74 61 63 6b | 20 74 68 65 49 74 65 6d |go stack| theItem|
|000026e0| 20 69 6e 20 6e 65 77 20 | 77 69 6e 64 6f 77 0d 65 | in new |window.e|
|000026f0| 6c 73 65 0d 69 66 20 55 | 74 69 6c 4e 65 77 57 69 |lse.if U|tilNewWi|
|00002700| 6e 64 6f 77 50 72 65 66 | 20 74 68 65 6e 20 67 6f |ndowPref| then go|
|00002710| 20 73 74 61 63 6b 20 74 | 68 65 49 74 65 6d 20 69 | stack t|heItem i|
|00002720| 6e 20 6e 65 77 20 77 69 | 6e 64 6f 77 0d 65 6c 73 |n new wi|ndow.els|
|00002730| 65 20 67 6f 20 73 74 61 | 63 6b 20 74 68 65 49 74 |e go sta|ck theIt|
|00002740| 65 6d 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 68 61 |em.end i|f.end ha|
|00002750| 6e 64 6c 65 55 74 69 6c | 53 74 61 63 6b 73 4d 65 |ndleUtil|StacksMe|
|00002760| 6e 75 0d 0d 6f 6e 20 68 | 61 6e 64 6c 65 48 6f 74 |nu..on h|andleHot|
|00002770| 4b 65 79 73 4d 65 6e 75 | 20 74 68 65 49 74 65 6d |KeysMenu| theItem|
|00002780| 0d 69 66 20 74 68 65 49 | 74 65 6d 20 69 73 20 22 |.if theI|tem is "|
|00002790| 4c 69 73 74 20 48 6f 74 | 20 4b 65 79 73 2e 2e 2e |List Hot| Keys...|
|000027a0| 22 20 74 68 65 6e 0d 69 | 66 20 28 74 68 65 20 6f |" then.i|f (the o|
|000027b0| 70 74 69 6f 6e 4b 65 79 | 20 69 73 20 75 70 29 20 |ptionKey| is up) |
|000027c0| 74 68 65 6e 0d 6c 69 73 | 74 4d 61 63 72 6f 73 0d |then.lis|tMacros.|
|000027d0| 65 6c 73 65 0d 70 72 69 | 6e 74 48 6f 74 4b 65 79 |else.pri|ntHotKey|
|000027e0| 73 4c 69 73 74 0d 65 6e | 64 20 69 66 0d 65 6c 73 |sList.en|d if.els|
|000027f0| 65 20 69 66 20 74 68 65 | 49 74 65 6d 20 69 73 20 |e if the|Item is |
|00002800| 22 45 6e 61 62 6c 65 20 | 48 6f 74 20 4b 65 79 73 |"Enable |Hot Keys|
|00002810| 22 20 6f 72 20 74 68 65 | 49 74 65 6d 20 69 73 20 |" or the|Item is |
|00002820| 22 44 69 73 61 62 6c 65 | 20 48 6f 74 20 4b 65 79 |"Disable| Hot Key|
|00002830| 73 22 20 74 68 65 6e 0d | 74 6f 67 67 6c 65 55 73 |s" then.|toggleUs|
|00002840| 65 4d 61 63 72 6f 73 0d | 65 6e 64 20 69 66 0d 65 |eMacros.|end if.e|
|00002850| 6e 64 20 68 61 6e 64 6c | 65 48 6f 74 4b 65 79 73 |nd handl|eHotKeys|
|00002860| 4d 65 6e 75 0d 0d 6f 6e | 20 68 61 6e 64 6c 65 4f |Menu..on| handleO|
|00002870| 62 6a 65 63 74 73 4d 65 | 6e 75 20 74 68 65 49 74 |bjectsMe|nu theIt|
|00002880| 65 6d 0d 69 66 20 74 68 | 65 49 74 65 6d 20 69 73 |em.if th|eItem is|
|00002890| 20 22 4c 69 73 74 20 4f | 62 6a 65 63 74 73 2e 2e | "List O|bjects..|
|000028a0| 2e 22 20 74 68 65 6e 20 | 6c 69 73 74 43 64 4f 62 |." then |listCdOb|
|000028b0| 6a 65 63 74 73 0d 65 6c | 73 65 20 69 66 20 74 68 |jects.el|se if th|
|000028c0| 65 49 74 65 6d 20 69 73 | 20 22 54 6f 67 67 6c 65 |eItem is| "Toggle|
|000028d0| 20 4c 6f 63 6b 54 65 78 | 74 2e 2e 2e 22 20 74 68 | LockTex|t..." th|
|000028e0| 65 6e 20 74 6f 67 67 6c | 65 4c 6f 63 6b 54 65 78 |en toggl|eLockTex|
|000028f0| 74 0d 65 6c 73 65 20 69 | 66 20 74 68 65 49 74 65 |t.else i|f theIte|
|00002900| 6d 20 69 73 20 22 4c 6f | 63 6b 54 65 78 74 2e 2e |m is "Lo|ckText..|
|00002910| 2e 22 20 74 68 65 6e 20 | 6c 6f 63 6b 54 65 78 74 |." then |lockText|
|00002920| 46 6c 64 73 20 54 52 55 | 45 0d 65 6c 73 65 20 69 |Flds TRU|E.else i|
|00002930| 66 20 74 68 65 49 74 65 | 6d 20 69 73 20 22 55 6e |f theIte|m is "Un|
|00002940| 6c 6f 63 6b 54 65 78 74 | 2e 2e 2e 22 20 74 68 65 |lockText|..." the|
|00002950| 6e 20 6c 6f 63 6b 54 65 | 78 74 46 6c 64 73 20 46 |n lockTe|xtFlds F|
|00002960| 41 4c 53 45 0d 65 6c 73 | 65 20 69 66 20 74 68 65 |ALSE.els|e if the|
|00002970| 49 74 65 6d 20 69 73 20 | 22 48 69 64 65 20 42 75 |Item is |"Hide Bu|
|00002980| 74 74 6f 6e 73 2e 2e 2e | 22 20 74 68 65 6e 20 68 |ttons...|" then h|
|00002990| 69 64 65 42 75 74 74 6f | 6e 73 0d 65 6c 73 65 20 |ideButto|ns.else |
|000029a0| 69 66 20 74 68 65 49 74 | 65 6d 20 69 73 20 22 48 |if theIt|em is "H|
|000029b0| 69 64 65 20 46 69 65 6c | 64 73 2e 2e 2e 22 20 74 |ide Fiel|ds..." t|
|000029c0| 68 65 6e 20 68 69 64 65 | 46 69 65 6c 64 73 0d 65 |hen hide|Fields.e|
|000029d0| 6c 73 65 20 69 66 20 74 | 68 65 49 74 65 6d 20 69 |lse if t|heItem i|
|000029e0| 73 20 22 55 6e 68 69 64 | 65 20 42 75 74 74 6f 6e |s "Unhid|e Button|
|000029f0| 73 22 20 74 68 65 6e 20 | 53 68 6f 77 41 6c 6c 42 |s" then |ShowAllB|
|00002a00| 75 74 74 6f 6e 73 0d 65 | 6c 73 65 20 69 66 20 74 |uttons.e|lse if t|
|00002a10| 68 65 49 74 65 6d 20 69 | 73 20 22 55 6e 68 69 64 |heItem i|s "Unhid|
|00002a20| 65 20 46 69 65 6c 64 73 | 22 20 74 68 65 6e 20 53 |e Fields|" then S|
|00002a30| 68 6f 77 41 6c 6c 46 69 | 65 6c 64 73 0d 65 6e 64 |howAllFi|elds.end|
|00002a40| 20 68 61 6e 64 6c 65 4f | 62 6a 65 63 74 73 4d 65 | handleO|bjectsMe|
|00002a50| 6e 75 0d 0d 6f 6e 20 68 | 61 6e 64 6c 65 43 64 50 |nu..on h|andleCdP|
|00002a60| 72 6f 70 4d 65 6e 75 20 | 74 68 65 49 74 65 6d 0d |ropMenu |theItem.|
|00002a70| 69 66 20 74 68 65 49 74 | 65 6d 20 69 73 20 22 47 |if theIt|em is "G|
|00002a80| 6f 20 4e 65 78 74 20 4d | 61 72 6b 65 64 22 20 74 |o Next M|arked" t|
|00002a90| 68 65 6e 0d 69 66 20 74 | 68 65 20 6e 75 6d 62 65 |hen.if t|he numbe|
|00002aa0| 72 20 6f 66 20 6d 61 72 | 6b 65 64 20 63 64 73 20 |r of mar|ked cds |
|00002ab0| ad 20 30 20 74 68 65 6e | 20 67 6f 20 6e 65 78 74 |. 0 then| go next|
|00002ac0| 20 6d 61 72 6b 65 64 20 | 63 64 0d 65 6c 73 65 20 | marked |cd.else |
|00002ad0| 62 65 65 70 20 31 0d 65 | 6c 73 65 20 69 66 20 74 |beep 1.e|lse if t|
|00002ae0| 68 65 49 74 65 6d 20 69 | 73 20 22 47 6f 20 50 72 |heItem i|s "Go Pr|
|00002af0| 65 76 20 4d 61 72 6b 65 | 64 22 20 74 68 65 6e 0d |ev Marke|d" then.|
|00002b00| 69 66 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |if the n|umber of|
|00002b10| 20 6d 61 72 6b 65 64 20 | 63 64 73 20 ad 20 30 20 | marked |cds . 0 |
|00002b20| 74 68 65 6e 20 67 6f 20 | 70 72 65 76 20 6d 61 72 |then go |prev mar|
|00002b30| 6b 65 64 20 63 64 0d 65 | 6c 73 65 20 62 65 65 70 |ked cd.e|lse beep|
|00002b40| 20 31 0d 65 6c 73 65 20 | 74 6f 67 67 6c 65 50 72 | 1.else |togglePr|
|00002b50| 6f 70 65 72 74 79 20 74 | 68 65 49 74 65 6d 2c 63 |operty t|heItem,c|
|00002b60| 61 72 64 2c 74 68 65 49 | 74 65 6d 0d 65 6e 64 20 |ard,theI|tem.end |
|00002b70| 68 61 6e 64 6c 65 43 64 | 50 72 6f 70 4d 65 6e 75 |handleCd|PropMenu|
|00002b80| 0d 0d 6f 6e 20 68 61 6e | 64 6c 65 42 67 50 72 6f |..on han|dleBgPro|
|00002b90| 70 4d 65 6e 75 20 74 68 | 65 49 74 65 6d 0d 69 66 |pMenu th|eItem.if|
|00002ba0| 20 74 68 65 49 74 65 6d | 20 69 73 20 22 47 6f 20 | theItem| is "Go |
|00002bb0| 4e 65 78 74 20 42 6b 67 | 6e 64 22 20 74 68 65 6e |Next Bkg|nd" then|
|00002bc0| 20 67 6f 20 63 64 20 31 | 20 6f 66 20 6e 65 78 74 | go cd 1| of next|
|00002bd0| 20 62 6b 67 6e 64 0d 65 | 6c 73 65 20 69 66 20 74 | bkgnd.e|lse if t|
|00002be0| 68 65 49 74 65 6d 20 69 | 73 20 22 47 6f 20 50 72 |heItem i|s "Go Pr|
|00002bf0| 65 76 20 42 6b 67 6e 64 | 22 20 74 68 65 6e 20 67 |ev Bkgnd|" then g|
|00002c00| 6f 20 63 64 20 31 20 6f | 66 20 70 72 65 76 20 62 |o cd 1 o|f prev b|
|00002c10| 6b 67 6e 64 0d 65 6c 73 | 65 20 69 66 20 74 68 65 |kgnd.els|e if the|
|00002c20| 49 74 65 6d 20 69 73 20 | 22 47 6f 74 6f 20 42 6b |Item is |"Goto Bk|
|00002c30| 67 6e 64 2e 2e 2e 22 20 | 74 68 65 6e 20 67 6f 54 |gnd..." |then goT|
|00002c40| 6f 42 6b 67 6e 64 0d 65 | 6c 73 65 20 74 6f 67 67 |oBkgnd.e|lse togg|
|00002c50| 6c 65 50 72 6f 70 65 72 | 74 79 20 74 68 65 49 74 |leProper|ty theIt|
|00002c60| 65 6d 2c 62 6b 67 6e 64 | 2c 74 68 65 49 74 65 6d |em,bkgnd|,theItem|
|00002c70| 0d 65 6e 64 20 68 61 6e | 64 6c 65 42 67 50 72 6f |.end han|dleBgPro|
|00002c80| 70 4d 65 6e 75 0d 0d 6f | 6e 20 68 61 6e 64 6c 65 |pMenu..o|n handle|
|00002c90| 53 74 61 63 6b 50 72 6f | 70 4d 65 6e 75 20 74 68 |StackPro|pMenu th|
|00002ca0| 65 49 74 65 6d 0d 69 66 | 20 74 68 65 49 74 65 6d |eItem.if| theItem|
|00002cb0| 20 69 73 20 22 4c 69 73 | 74 20 52 65 73 6f 75 72 | is "Lis|t Resour|
|00002cc0| 63 65 73 2e 2e 2e 22 20 | 74 68 65 6e 20 6c 69 73 |ces..." |then lis|
|00002cd0| 74 52 65 73 6f 75 72 63 | 65 73 0d 65 6c 73 65 20 |tResourc|es.else |
|00002ce0| 69 66 20 74 68 65 49 74 | 65 6d 20 69 73 20 22 53 |if theIt|em is "S|
|00002cf0| 74 61 63 6b 20 56 65 72 | 73 69 6f 6e 2e 2e 2e 22 |tack Ver|sion..."|
|00002d00| 20 74 68 65 6e 20 67 65 | 74 53 74 61 63 6b 56 65 | then ge|tStackVe|
|00002d10| 72 73 69 6f 6e 0d 65 6c | 73 65 20 74 6f 67 67 6c |rsion.el|se toggl|
|00002d20| 65 50 72 6f 70 65 72 74 | 79 20 74 68 65 49 74 65 |ePropert|y theIte|
|00002d30| 6d 2c 73 74 61 63 6b 2c | 74 68 65 49 74 65 6d 0d |m,stack,|theItem.|
|00002d40| 65 6e 64 20 68 61 6e 64 | 6c 65 53 74 61 63 6b 50 |end hand|leStackP|
|00002d50| 72 6f 70 4d 65 6e 75 0d | 0d 6f 6e 20 68 61 6e 64 |ropMenu.|.on hand|
|00002d60| 6c 65 47 6c 6f 62 61 6c | 50 72 6f 70 4d 65 6e 75 |leGlobal|PropMenu|
|00002d70| 20 74 68 65 49 74 65 6d | 0d 69 66 20 74 68 65 49 | theItem|.if theI|
|00002d80| 74 65 6d 20 69 73 20 22 | 53 65 74 20 50 61 69 6e |tem is "|Set Pain|
|00002d90| 74 20 44 65 66 61 75 6c | 74 73 22 20 74 68 65 6e |t Defaul|ts" then|
|00002da0| 20 72 65 73 65 74 20 70 | 61 69 6e 74 0d 65 6c 73 | reset p|aint.els|
|00002db0| 65 20 69 66 20 74 68 65 | 49 74 65 6d 20 69 73 20 |e if the|Item is |
|00002dc0| 22 53 65 74 20 50 72 69 | 6e 74 20 44 65 66 61 75 |"Set Pri|nt Defau|
|00002dd0| 6c 74 73 22 20 74 68 65 | 6e 20 72 65 73 65 74 20 |lts" the|n reset |
|00002de0| 70 72 69 6e 74 69 6e 67 | 0d 65 6c 73 65 20 69 66 |printing|.else if|
|00002df0| 20 74 68 65 49 74 65 6d | 20 69 73 20 22 52 65 73 | theItem| is "Res|
|00002e00| 65 74 20 4d 65 6e 75 42 | 61 72 22 20 74 68 65 6e |et MenuB|ar" then|
|00002e10| 20 72 65 73 65 74 20 6d | 65 6e 75 42 61 72 0d 65 | reset m|enuBar.e|
|00002e20| 6c 73 65 20 69 66 20 74 | 68 65 49 74 65 6d 20 69 |lse if t|heItem i|
|00002e30| 73 20 22 48 79 70 65 72 | 43 61 72 64 20 56 65 72 |s "Hyper|Card Ver|
|00002e40| 73 69 6f 6e 2e 2e 2e 22 | 20 74 68 65 6e 20 67 65 |sion..."| then ge|
|00002e50| 74 48 43 56 65 72 73 69 | 6f 6e 0d 65 6c 73 65 20 |tHCVersi|on.else |
|00002e60| 73 65 74 47 6c 6f 62 61 | 6c 50 72 6f 70 65 72 74 |setGloba|lPropert|
|00002e70| 79 20 74 68 65 49 74 65 | 6d 2c 74 68 65 49 74 65 |y theIte|m,theIte|
|00002e80| 6d 0d 65 6e 64 20 68 61 | 6e 64 6c 65 47 6c 6f 62 |m.end ha|ndleGlob|
|00002e90| 61 6c 50 72 6f 70 4d 65 | 6e 75 0d 0d 6f 6e 20 68 |alPropMe|nu..on h|
|00002ea0| 61 6e 64 6c 65 55 73 65 | 72 4c 65 76 65 6c 4d 65 |andleUse|rLevelMe|
|00002eb0| 6e 75 20 74 68 65 49 74 | 65 6d 0d 67 6c 6f 62 61 |nu theIt|em.globa|
|00002ec0| 6c 20 53 74 6d 4e 61 6d | 65 0d 53 65 74 20 75 73 |l StmNam|e.Set us|
|00002ed0| 65 72 4c 65 76 65 6c 20 | 74 6f 20 74 68 65 49 74 |erLevel |to theIt|
|00002ee0| 65 6d 0d 6d 65 6e 75 20 | 22 55 6e 63 68 65 63 6b |em.menu |"Uncheck|
|00002ef0| 22 2c 53 74 6d 4e 61 6d | 65 2c 22 55 73 65 72 4c |",StmNam|e,"UserL|
|00002f00| 65 76 65 6c 22 2c 22 2a | 22 0d 6d 65 6e 75 20 22 |evel","*|".menu "|
|00002f10| 43 68 65 63 6b 22 2c 53 | 74 6d 4e 61 6d 65 2c 22 |Check",S|tmName,"|
|00002f20| 55 73 65 72 4c 65 76 65 | 6c 22 2c 74 68 65 49 74 |UserLeve|l",theIt|
|00002f30| 65 6d 0d 65 6e 64 20 68 | 61 6e 64 6c 65 55 73 65 |em.end h|andleUse|
|00002f40| 72 4c 65 76 65 6c 4d 65 | 6e 75 0d 0d 6f 6e 20 68 |rLevelMe|nu..on h|
|00002f50| 61 6e 64 6c 65 4d 65 6e | 75 4d 65 6e 75 20 74 68 |andleMen|uMenu th|
|00002f60| 65 49 74 65 6d 0d 69 66 | 20 74 68 65 49 74 65 6d |eItem.if| theItem|
|00002f70| 20 69 73 20 22 50 72 65 | 66 65 72 65 6e 63 65 73 | is "Pre|ferences|
|00002f80| 2e 2e 2e 22 20 74 68 65 | 6e 20 73 68 6f 77 50 72 |..." the|n showPr|
|00002f90| 65 66 44 67 0d 65 6c 73 | 65 20 69 66 20 74 68 65 |efDg.els|e if the|
|00002fa0| 49 74 65 6d 20 69 73 20 | 22 41 62 6f 75 74 2e 2e |Item is |"About..|
|00002fb0| 2e 22 20 74 68 65 6e 20 | 73 68 6f 77 41 62 6f 75 |." then |showAbou|
|00002fc0| 74 44 67 0d 65 6c 73 65 | 20 69 66 20 74 68 65 49 |tDg.else| if theI|
|00002fd0| 74 65 6d 20 69 73 20 22 | 48 65 6c 70 2e 2e 2e 22 |tem is "|Help..."|
|00002fe0| 20 74 68 65 6e 20 67 6f | 20 73 74 61 63 6b 20 22 | then go| stack "|
|00002ff0| 53 74 61 63 6b 54 6f 6f | 6c 73 20 4d 65 6e 75 20 |StackToo|ls Menu |
|00003000| 48 65 6c 70 22 20 69 6e | 20 6e 65 77 20 77 69 6e |Help" in| new win|
|00003010| 64 6f 77 0d 65 6c 73 65 | 20 69 66 20 74 68 65 49 |dow.else| if theI|
|00003020| 74 65 6d 20 69 73 20 22 | 53 65 74 20 50 61 6c 65 |tem is "|Set Pale|
|00003030| 74 74 65 73 2e 2e 2e 22 | 20 74 68 65 6e 20 73 65 |ttes..."| then se|
|00003040| 74 50 61 6c 65 74 74 65 | 73 0d 65 6c 73 65 20 69 |tPalette|s.else i|
|00003050| 66 20 74 68 65 49 74 65 | 6d 20 69 73 20 22 53 65 |f theIte|m is "Se|
|00003060| 74 20 55 74 69 6c 69 74 | 79 20 53 74 61 63 6b 73 |t Utilit|y Stacks|
|00003070| 2e 2e 2e 22 20 74 68 65 | 6e 20 73 65 74 55 74 69 |..." the|n setUti|
|00003080| 6c 53 74 61 63 6b 73 0d | 65 6c 73 65 20 69 66 20 |lStacks.|else if |
|00003090| 74 68 65 49 74 65 6d 20 | 69 73 20 22 53 65 74 20 |theItem |is "Set |
|000030a0| 52 65 70 6f 72 74 20 46 | 6f 6e 74 2e 2e 2e 22 20 |Report F|ont..." |
|000030b0| 74 68 65 6e 20 63 68 61 | 6e 67 65 52 65 70 6f 72 |then cha|ngeRepor|
|000030c0| 74 46 6f 6e 74 0d 65 6c | 73 65 20 69 66 20 74 68 |tFont.el|se if th|
|000030d0| 65 49 74 65 6d 20 69 73 | 20 22 55 70 64 61 74 65 |eItem is| "Update|
|000030e0| 20 50 72 6f 70 65 72 74 | 69 65 73 22 20 74 68 65 | Propert|ies" the|
|000030f0| 6e 20 75 70 64 61 74 65 | 50 72 6f 70 43 68 65 63 |n update|PropChec|
|00003100| 6b 73 0d 65 6c 73 65 20 | 69 66 20 77 6f 72 64 20 |ks.else |if word |
|00003110| 31 20 6f 66 20 74 68 65 | 49 74 65 6d 20 69 73 20 |1 of the|Item is |
|00003120| 22 52 65 6d 6f 76 65 22 | 20 74 68 65 6e 0d 69 66 |"Remove"| then.if|
|00003130| 20 74 68 65 20 6f 70 74 | 69 6f 6e 4b 65 79 20 69 | the opt|ionKey i|
|00003140| 73 20 64 6f 77 6e 20 74 | 68 65 6e 20 72 65 73 65 |s down t|hen rese|
|00003150| 74 53 74 6d 4d 65 6e 75 | 20 54 52 55 45 0d 65 6c |tStmMenu| TRUE.el|
|00003160| 73 65 20 63 6c 6f 73 65 | 53 74 61 63 6b 54 6f 6f |se close|StackToo|
|00003170| 6c 73 4d 65 6e 75 0d 65 | 6e 64 20 69 66 0d 65 6e |lsMenu.e|nd if.en|
|00003180| 64 20 68 61 6e 64 6c 65 | 4d 65 6e 75 4d 65 6e 75 |d handle|MenuMenu|
|00003190| 0d 0d 2d 2d 2d 2d 2d 20 | 20 53 74 61 63 6b 73 20 |..----- | Stacks |
|000031a0| 4d 65 6e 75 20 48 61 6e | 64 6c 65 72 73 3a 20 20 |Menu Han|dlers: |
|000031b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000031c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000031d0| 2d 2d 2d 2d 0d 0d 6f 6e | 20 63 6c 65 61 72 53 74 |----..on| clearSt|
|000031e0| 61 63 6b 73 4c 69 73 74 | 0d 67 6c 6f 62 61 6c 20 |acksList|.global |
|000031f0| 53 74 6d 4e 61 6d 65 0d | 6d 65 6e 75 20 22 4c 69 |StmName.|menu "Li|
|00003200| 73 74 22 2c 53 74 6d 4e | 61 6d 65 2c 22 53 74 61 |st",StmN|ame,"Sta|
|00003210| 63 6b 73 22 2c 22 2a 22 | 0d 70 75 74 20 74 68 65 |cks","*"|.put the|
|00003220| 20 72 65 73 75 6c 74 20 | 69 6e 74 6f 20 74 68 65 | result |into the|
|00003230| 49 74 65 6d 73 0d 72 65 | 70 65 61 74 20 77 69 74 |Items.re|peat wit|
|00003240| 68 20 63 6f 75 6e 74 20 | 3d 20 31 20 74 6f 20 28 |h count |= 1 to (|
|00003250| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 69 74 |the numb|er of it|
|00003260| 65 6d 73 20 69 6e 20 74 | 68 65 49 74 65 6d 73 20 |ems in t|heItems |
|00003270| 2d 20 32 29 0d 6d 65 6e | 75 20 22 52 65 6d 6f 76 |- 2).men|u "Remov|
|00003280| 65 22 2c 53 74 6d 4e 61 | 6d 65 2c 22 53 74 61 63 |e",StmNa|me,"Stac|
|00003290| 6b 73 22 2c 69 74 65 6d | 20 63 6f 75 6e 74 20 6f |ks",item| count o|
|000032a0| 66 20 74 68 65 49 74 65 | 6d 73 0d 65 6e 64 20 72 |f theIte|ms.end r|
|000032b0| 65 70 65 61 74 0d 70 75 | 74 20 74 68 65 20 73 74 |epeat.pu|t the st|
|000032c0| 61 63 6b 73 20 69 6e 74 | 6f 20 74 68 65 53 74 61 |acks int|o theSta|
|000032d0| 63 6b 73 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |cks.repe|at with |
|000032e0| 63 6f 75 6e 74 20 3d 31 | 20 74 6f 20 6e 75 6d 62 |count =1| to numb|
|000032f0| 65 72 20 6f 66 20 6c 69 | 6e 65 73 20 69 6e 20 74 |er of li|nes in t|
|00003300| 68 65 53 74 61 63 6b 73 | 0d 67 65 74 20 73 74 72 |heStacks|.get str|
|00003310| 69 70 50 61 74 68 20 28 | 6c 69 6e 65 20 63 6f 75 |ipPath (|line cou|
|00003320| 6e 74 20 6f 66 20 74 68 | 65 53 74 61 63 6b 73 29 |nt of th|eStacks)|
|00003330| 0d 6d 65 6e 75 20 22 49 | 6e 73 65 72 74 22 2c 69 |.menu "I|nsert",i|
|00003340| 74 2c 53 74 6d 4e 61 6d | 65 2c 22 53 74 61 63 6b |t,StmNam|e,"Stack|
|00003350| 73 22 2c 22 2d 22 0d 65 | 6e 64 20 72 65 70 65 61 |s","-".e|nd repea|
|00003360| 74 0d 6d 65 6e 75 20 22 | 43 68 65 63 6b 22 2c 53 |t.menu "|Check",S|
|00003370| 74 6d 4e 61 6d 65 2c 22 | 53 74 61 63 6b 73 22 2c |tmName,"|Stacks",|
|00003380| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 74 68 |short na|me of th|
|00003390| 69 73 20 73 74 61 63 6b | 0d 6d 65 6e 75 20 22 44 |is stack|.menu "D|
|000033a0| 69 73 61 62 6c 65 22 2c | 53 74 6d 4e 61 6d 65 2c |isable",|StmName,|
|000033b0| 22 53 74 61 63 6b 73 22 | 2c 22 43 6c 65 61 72 20 |"Stacks"|,"Clear |
|000033c0| 4c 69 73 74 22 0d 65 6e | 64 20 63 6c 65 61 72 53 |List".en|d clearS|
|000033d0| 74 61 63 6b 73 4c 69 73 | 74 0d 0d 6f 6e 20 61 64 |tacksLis|t..on ad|
|000033e0| 64 54 6f 53 74 61 63 6b | 73 0d 67 6c 6f 62 61 6c |dToStack|s.global|
|000033f0| 20 53 74 6d 4e 61 6d 65 | 0d 70 75 74 20 74 68 65 | StmName|.put the|
|00003400| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|00003410| 68 69 73 20 73 74 61 63 | 6b 20 69 6e 74 6f 20 74 |his stac|k into t|
|00003420| 68 65 53 74 61 63 6b 0d | 6d 65 6e 75 20 22 4c 69 |heStack.|menu "Li|
|00003430| 73 74 22 2c 53 74 6d 4e | 61 6d 65 2c 22 53 74 61 |st",StmN|ame,"Sta|
|00003440| 63 6b 73 22 2c 22 2a 22 | 0d 70 75 74 20 74 68 65 |cks","*"|.put the|
|00003450| 20 72 65 73 75 6c 74 20 | 69 6e 74 6f 20 73 74 61 | result |into sta|
|00003460| 63 6b 73 49 74 65 6d 73 | 0d 69 66 20 74 68 65 53 |cksItems|.if theS|
|00003470| 74 61 63 6b 20 69 73 20 | 6e 6f 74 20 69 6e 20 73 |tack is |not in s|
|00003480| 74 61 63 6b 73 49 74 65 | 6d 73 20 74 68 65 6e 0d |tacksIte|ms then.|
|00003490| 6d 65 6e 75 20 22 49 6e | 73 65 72 74 22 2c 74 68 |menu "In|sert",th|
|000034a0| 65 53 74 61 63 6b 2c 53 | 74 6d 4e 61 6d 65 2c 22 |eStack,S|tmName,"|
|000034b0| 53 74 61 63 6b 73 22 2c | 31 0d 65 6c 73 65 0d 6d |Stacks",|1.else.m|
|000034c0| 65 6e 75 20 22 47 65 74 | 53 74 79 6c 65 22 2c 53 |enu "Get|Style",S|
|000034d0| 74 6d 4e 61 6d 65 2c 22 | 53 74 61 63 6b 73 22 2c |tmName,"|Stacks",|
|000034e0| 74 68 65 53 74 61 63 6b | 0d 69 66 20 74 68 65 20 |theStack|.if the |
|000034f0| 72 65 73 75 6c 74 20 69 | 73 20 22 49 22 20 74 68 |result i|s "I" th|
|00003500| 65 6e 0d 6d 65 6e 75 20 | 22 52 65 6d 6f 76 65 22 |en.menu |"Remove"|
|00003510| 2c 53 74 6d 4e 61 6d 65 | 2c 22 53 74 61 63 6b 73 |,StmName|,"Stacks|
|00003520| 22 2c 74 68 65 53 74 61 | 63 6b 0d 6d 65 6e 75 20 |",theSta|ck.menu |
|00003530| 22 49 6e 73 65 72 74 22 | 2c 74 68 65 53 74 61 63 |"Insert"|,theStac|
|00003540| 6b 2c 53 74 6d 4e 61 6d | 65 2c 22 53 74 61 63 6b |k,StmNam|e,"Stack|
|00003550| 73 22 2c 31 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |s",1.end| if.end |
|00003560| 69 66 0d 6d 65 6e 75 20 | 22 55 6e 63 68 65 63 6b |if.menu |"Uncheck|
|00003570| 22 2c 53 74 6d 4e 61 6d | 65 2c 22 53 74 61 63 6b |",StmNam|e,"Stack|
|00003580| 73 22 2c 22 2a 22 0d 6d | 65 6e 75 20 22 43 68 65 |s","*".m|enu "Che|
|00003590| 63 6b 22 2c 53 74 6d 4e | 61 6d 65 2c 22 53 74 61 |ck",StmN|ame,"Sta|
|000035a0| 63 6b 73 22 2c 74 68 65 | 53 74 61 63 6b 0d 6d 65 |cks",the|Stack.me|
|000035b0| 6e 75 20 22 43 6f 75 6e | 74 22 2c 53 74 6d 4e 61 |nu "Coun|t",StmNa|
|000035c0| 6d 65 2c 22 53 74 61 63 | 6b 73 22 2c 22 2a 22 0d |me,"Stac|ks","*".|
|000035d0| 70 75 74 20 74 68 65 20 | 72 65 73 75 6c 74 20 2d |put the |result -|
|000035e0| 20 32 20 69 6e 74 6f 20 | 69 74 65 6d 43 6f 75 6e | 2 into |itemCoun|
|000035f0| 74 0d 69 66 20 69 74 65 | 6d 43 6f 75 6e 74 20 3e |t.if ite|mCount >|
|00003600| 20 28 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 | (number| of line|
|00003610| 73 20 69 6e 20 74 68 65 | 20 73 74 61 63 6b 73 29 |s in the| stacks)|
|00003620| 20 74 68 65 6e 0d 6d 65 | 6e 75 20 22 45 6e 61 62 | then.me|nu "Enab|
|00003630| 6c 65 22 2c 53 74 6d 4e | 61 6d 65 2c 22 53 74 61 |le",StmN|ame,"Sta|
|00003640| 63 6b 73 22 2c 22 43 6c | 65 61 72 20 4c 69 73 74 |cks","Cl|ear List|
|00003650| 22 0d 65 6c 73 65 0d 6d | 65 6e 75 20 22 44 69 73 |".else.m|enu "Dis|
|00003660| 61 62 6c 65 22 2c 53 74 | 6d 4e 61 6d 65 2c 22 53 |able",St|mName,"S|
|00003670| 74 61 63 6b 73 22 2c 22 | 43 6c 65 61 72 20 4c 69 |tacks","|Clear Li|
|00003680| 73 74 22 0d 65 6e 64 20 | 69 66 0d 69 66 20 6e 75 |st".end |if.if nu|
|00003690| 6d 62 65 72 20 6f 66 20 | 6c 69 6e 65 73 20 69 6e |mber of |lines in|
|000036a0| 20 74 68 65 20 73 74 61 | 63 6b 73 20 3e 20 31 20 | the sta|cks > 1 |
|000036b0| 74 68 65 6e 0d 6d 65 6e | 75 20 22 45 6e 61 62 6c |then.men|u "Enabl|
|000036c0| 65 22 2c 53 74 6d 4e 61 | 6d 65 2c 22 57 69 6e 64 |e",StmNa|me,"Wind|
|000036d0| 6f 77 73 22 2c 22 43 6c | 6f 73 65 20 53 74 61 63 |ows","Cl|ose Stac|
|000036e0| 6b 73 22 0d 6d 65 6e 75 | 20 22 45 6e 61 62 6c 65 |ks".menu| "Enable|
|000036f0| 22 2c 53 74 6d 4e 61 6d | 65 2c 22 57 69 6e 64 6f |",StmNam|e,"Windo|
|00003700| 77 73 22 2c 22 43 6c 65 | 61 6e 20 55 70 20 57 69 |ws","Cle|an Up Wi|
|00003710| 6e 64 6f 77 73 22 0d 65 | 6c 73 65 0d 6d 65 6e 75 |ndows".e|lse.menu|
|00003720| 20 22 44 69 73 61 62 6c | 65 22 2c 53 74 6d 4e 61 | "Disabl|e",StmNa|
|00003730| 6d 65 2c 22 57 69 6e 64 | 6f 77 73 22 2c 22 43 6c |me,"Wind|ows","Cl|
|00003740| 6f 73 65 20 53 74 61 63 | 6b 73 22 0d 6d 65 6e 75 |ose Stac|ks".menu|
|00003750| 20 22 44 69 73 61 62 6c | 65 22 2c 53 74 6d 4e 61 | "Disabl|e",StmNa|
|00003760| 6d 65 2c 22 57 69 6e 64 | 6f 77 73 22 2c 22 43 6c |me,"Wind|ows","Cl|
|00003770| 65 61 6e 20 55 70 20 57 | 69 6e 64 6f 77 73 22 0d |ean Up W|indows".|
|00003780| 65 6e 64 20 69 66 0d 65 | 6e 64 20 61 64 64 54 6f |end if.e|nd addTo|
|00003790| 53 74 61 63 6b 73 0d 0d | 6f 6e 20 75 70 64 61 74 |Stacks..|on updat|
|000037a0| 65 53 74 61 63 6b 73 4d | 65 6e 75 0d 67 6c 6f 62 |eStacksM|enu.glob|
|000037b0| 61 6c 20 53 74 6d 4e 61 | 6d 65 2c 43 6c 65 61 72 |al StmNa|me,Clear|
|000037c0| 53 74 61 63 6b 73 50 72 | 65 66 0d 67 65 74 20 74 |StacksPr|ef.get t|
|000037d0| 68 65 20 73 68 6f 72 74 | 20 6e 61 6d 65 20 6f 66 |he short| name of|
|000037e0| 20 74 68 69 73 20 73 74 | 61 63 6b 0d 69 66 20 28 | this st|ack.if (|
|000037f0| 69 74 20 69 73 20 22 53 | 74 61 63 6b 54 6f 6f 6c |it is "S|tackTool|
|00003800| 73 31 22 29 20 6f 72 20 | 28 74 68 65 72 65 20 69 |s1") or |(there i|
|00003810| 73 20 6e 6f 74 20 61 20 | 6d 65 6e 75 20 53 74 6d |s not a |menu Stm|
|00003820| 4e 61 6d 65 29 20 74 68 | 65 6e 20 65 78 69 74 20 |Name) th|en exit |
|00003830| 75 70 64 61 74 65 53 74 | 61 63 6b 73 4d 65 6e 75 |updateSt|acksMenu|
|00003840| 0d 6d 65 6e 75 20 22 52 | 65 6d 6f 76 65 22 2c 53 |.menu "R|emove",S|
|00003850| 74 6d 4e 61 6d 65 2c 22 | 53 74 61 63 6b 73 22 2c |tmName,"|Stacks",|
|00003860| 69 74 0d 69 66 20 43 6c | 65 61 72 53 74 61 63 6b |it.if Cl|earStack|
|00003870| 73 50 72 65 66 20 69 73 | 20 54 52 55 45 20 74 68 |sPref is| TRUE th|
|00003880| 65 6e 20 65 78 69 74 20 | 75 70 64 61 74 65 53 74 |en exit |updateSt|
|00003890| 61 63 6b 73 4d 65 6e 75 | 0d 6d 65 6e 75 20 22 49 |acksMenu|.menu "I|
|000038a0| 6e 73 65 72 74 22 2c 69 | 74 2c 53 74 6d 4e 61 6d |nsert",i|t,StmNam|
|000038b0| 65 2c 22 53 74 61 63 6b | 73 22 2c 22 2d 22 0d 6d |e,"Stack|s","-".m|
|000038c0| 65 6e 75 20 22 53 65 74 | 53 74 79 6c 65 22 2c 49 |enu "Set|Style",I|
|000038d0| 2c 53 74 6d 4e 61 6d 65 | 2c 22 53 74 61 63 6b 73 |,StmName|,"Stacks|
|000038e0| 22 2c 69 74 0d 65 6e 64 | 20 75 70 64 61 74 65 53 |",it.end| updateS|
|000038f0| 74 61 63 6b 73 4d 65 6e | 75 0d 0d 6f 6e 20 63 6c |tacksMen|u..on cl|
|00003900| 6f 73 65 53 74 61 63 6b | 57 69 6e 64 6f 77 73 0d |oseStack|Windows.|
|00003910| 67 6c 6f 62 61 6c 20 73 | 74 6d 4e 61 6d 65 0d 73 |global s|tmName.s|
|00003920| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 77 61 74 |et curso|r to wat|
|00003930| 63 68 0d 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 72 |ch.lock |screen.r|
|00003940| 65 70 65 61 74 20 77 69 | 74 68 20 63 6f 75 6e 74 |epeat wi|th count|
|00003950| 20 3d 20 28 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | = (the |number o|
|00003960| 66 20 6c 69 6e 65 73 20 | 69 6e 20 74 68 65 20 73 |f lines |in the s|
|00003970| 74 61 63 6b 73 29 20 64 | 6f 77 6e 20 74 6f 20 32 |tacks) d|own to 2|
|00003980| 0d 70 75 74 20 6c 69 6e | 65 20 63 6f 75 6e 74 20 |.put lin|e count |
|00003990| 6f 66 20 74 68 65 20 73 | 74 61 63 6b 73 20 69 6e |of the s|tacks in|
|000039a0| 74 6f 20 74 68 65 53 74 | 61 63 6b 0d 67 6f 20 73 |to theSt|ack.go s|
|000039b0| 74 61 63 6b 20 74 68 65 | 53 74 61 63 6b 0d 69 66 |tack the|Stack.if|
|000039c0| 20 74 68 65 20 6c 6f 6e | 67 57 69 6e 64 6f 77 54 | the lon|gWindowT|
|000039d0| 69 74 6c 65 73 20 74 68 | 65 6e 20 63 6c 6f 73 65 |itles th|en close|
|000039e0| 20 77 69 6e 64 6f 77 20 | 74 68 65 53 74 61 63 6b | window |theStack|
|000039f0| 0d 65 6c 73 65 20 63 6c | 6f 73 65 20 77 69 6e 64 |.else cl|ose wind|
|00003a00| 6f 77 20 73 74 72 69 70 | 50 61 74 68 28 74 68 65 |ow strip|Path(the|
|00003a10| 53 74 61 63 6b 29 0d 65 | 6e 64 20 72 65 70 65 61 |Stack).e|nd repea|
|00003a20| 74 0d 6d 65 6e 75 20 22 | 44 69 73 61 62 6c 65 22 |t.menu "|Disable"|
|00003a30| 2c 53 74 6d 4e 61 6d 65 | 2c 22 57 69 6e 64 6f 77 |,StmName|,"Window|
|00003a40| 73 22 2c 22 43 6c 6f 73 | 65 20 53 74 61 63 6b 73 |s","Clos|e Stacks|
|00003a50| 22 0d 6d 65 6e 75 20 22 | 44 69 73 61 62 6c 65 22 |".menu "|Disable"|
|00003a60| 2c 53 74 6d 4e 61 6d 65 | 2c 22 57 69 6e 64 6f 77 |,StmName|,"Window|
|00003a70| 73 22 2c 22 43 6c 65 61 | 6e 20 55 70 20 57 69 6e |s","Clea|n Up Win|
|00003a80| 64 6f 77 73 22 0d 65 6e | 64 20 63 6c 6f 73 65 53 |dows".en|d closeS|
|00003a90| 74 61 63 6b 57 69 6e 64 | 6f 77 73 0d 0d 2d 2d 2d |tackWind|ows..---|
|00003aa0| 2d 2d 20 20 53 65 74 20 | 50 72 6f 70 65 72 74 69 |-- Set |Properti|
|00003ab0| 65 73 20 48 61 6e 64 6c | 65 72 73 3a 20 20 2d 2d |es Handl|ers: --|
|00003ac0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003ad0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003ae0| 2d 2d 0d 0d 6f 6e 20 73 | 65 74 43 61 72 64 50 72 |--..on s|etCardPr|
|00003af0| 6f 70 43 68 65 63 6b 73 | 0d 67 6c 6f 62 61 6c 20 |opChecks|.global |
|00003b00| 53 74 6d 4e 61 6d 65 0d | 6d 65 6e 75 20 22 55 6e |StmName.|menu "Un|
|00003b10| 63 68 65 63 6b 22 2c 53 | 74 6d 4e 61 6d 65 2c 22 |check",S|tmName,"|
|00003b20| 43 61 72 64 20 50 72 6f | 70 65 72 74 69 65 73 22 |Card Pro|perties"|
|00003b30| 2c 22 2a 22 0d 69 66 20 | 74 68 65 20 63 61 6e 74 |,"*".if |the cant|
|00003b40| 4d 6f 64 69 66 79 20 6f | 66 20 74 68 69 73 20 63 |Modify o|f this c|
|00003b50| 61 72 64 20 74 68 65 6e | 20 6d 65 6e 75 20 22 43 |ard then| menu "C|
|00003b60| 68 65 63 6b 22 2c 53 74 | 6d 4e 61 6d 65 2c 22 43 |heck",St|mName,"C|
|00003b70| 61 72 64 20 50 72 6f 70 | 65 72 74 69 65 73 22 2c |ard Prop|erties",|
|00003b80| 22 63 61 6e 74 4d 6f 64 | 69 66 79 22 0d 69 66 20 |"cantMod|ify".if |
|00003b90| 74 68 65 20 63 61 6e 74 | 44 65 6c 65 74 65 20 6f |the cant|Delete o|
|00003ba0| 66 20 74 68 69 73 20 63 | 61 72 64 20 74 68 65 6e |f this c|ard then|
|00003bb0| 20 6d 65 6e 75 20 22 43 | 68 65 63 6b 22 2c 53 74 | menu "C|heck",St|
|00003bc0| 6d 4e 61 6d 65 2c 22 43 | 61 72 64 20 50 72 6f 70 |mName,"C|ard Prop|
|00003bd0| 65 72 74 69 65 73 22 2c | 22 63 61 6e 74 44 65 6c |erties",|"cantDel|
|00003be0| 65 74 65 22 0d 69 66 20 | 74 68 65 20 64 6f 6e 74 |ete".if |the dont|
|00003bf0| 53 65 61 72 63 68 20 6f | 66 20 74 68 69 73 20 63 |Search o|f this c|
|00003c00| 61 72 64 20 74 68 65 6e | 20 6d 65 6e 75 20 22 43 |ard then| menu "C|
|00003c10| 68 65 63 6b 22 2c 53 74 | 6d 4e 61 6d 65 2c 22 43 |heck",St|mName,"C|
|00003c20| 61 72 64 20 50 72 6f 70 | 65 72 74 69 65 73 22 2c |ard Prop|erties",|
|00003c30| 22 64 6f 6e 74 53 65 61 | 72 63 68 22 0d 69 66 20 |"dontSea|rch".if |
|00003c40| 74 68 65 20 73 68 6f 77 | 50 69 63 74 20 6f 66 20 |the show|Pict of |
|00003c50| 74 68 69 73 20 63 61 72 | 64 20 74 68 65 6e 20 6d |this car|d then m|
|00003c60| 65 6e 75 20 22 43 68 65 | 63 6b 22 2c 53 74 6d 4e |enu "Che|ck",StmN|
|00003c70| 61 6d 65 2c 22 43 61 72 | 64 20 50 72 6f 70 65 72 |ame,"Car|d Proper|
|00003c80| 74 69 65 73 22 2c 22 73 | 68 6f 77 50 69 63 74 22 |ties","s|howPict"|
|00003c90| 0d 69 66 20 74 68 65 20 | 6d 61 72 6b 65 64 20 6f |.if the |marked o|
|00003ca0| 66 20 74 68 69 73 20 63 | 61 72 64 20 74 68 65 6e |f this c|ard then|
|00003cb0| 20 6d 65 6e 75 20 22 43 | 68 65 63 6b 22 2c 53 74 | menu "C|heck",St|
|00003cc0| 6d 4e 61 6d 65 2c 22 43 | 61 72 64 20 50 72 6f 70 |mName,"C|ard Prop|
|00003cd0| 65 72 74 69 65 73 22 2c | 22 6d 61 72 6b 65 64 22 |erties",|"marked"|
|00003ce0| 0d 65 6e 64 20 73 65 74 | 43 61 72 64 50 72 6f 70 |.end set|CardProp|
|00003cf0| 43 68 65 63 6b 73 0d 0d | 6f 6e 20 73 65 74 42 6b |Checks..|on setBk|
|00003d00| 67 6e 64 50 72 6f 70 43 | 68 65 63 6b 73 0d 67 6c |gndPropC|hecks.gl|
|00003d10| 6f 62 61 6c 20 53 74 6d | 4e 61 6d 65 0d 6d 65 6e |obal Stm|Name.men|
|00003d20| 75 20 22 55 6e 63 68 65 | 63 6b 22 2c 53 74 6d 4e |u "Unche|ck",StmN|
|00003d30| 61 6d 65 2c 22 42 6b 67 | 6e 64 20 50 72 6f 70 65 |ame,"Bkg|nd Prope|
|00003d40| 72 74 69 65 73 22 2c 22 | 2a 22 0d 69 66 20 74 68 |rties","|*".if th|
|00003d50| 65 20 63 61 6e 74 4d 6f | 64 69 66 79 20 6f 66 20 |e cantMo|dify of |
|00003d60| 74 68 69 73 20 42 6b 67 | 6e 64 20 74 68 65 6e 20 |this Bkg|nd then |
|00003d70| 6d 65 6e 75 20 22 43 68 | 65 63 6b 22 2c 53 74 6d |menu "Ch|eck",Stm|
|00003d80| 4e 61 6d 65 2c 22 42 6b | 67 6e 64 20 50 72 6f 70 |Name,"Bk|gnd Prop|
|00003d90| 65 72 74 69 65 73 22 2c | 22 63 61 6e 74 4d 6f 64 |erties",|"cantMod|
|00003da0| 69 66 79 22 0d 69 66 20 | 74 68 65 20 63 61 6e 74 |ify".if |the cant|
|00003db0| 44 65 6c 65 74 65 20 6f | 66 20 74 68 69 73 20 42 |Delete o|f this B|
|00003dc0| 6b 67 6e 64 20 74 68 65 | 6e 20 6d 65 6e 75 20 22 |kgnd the|n menu "|
|00003dd0| 43 68 65 63 6b 22 2c 53 | 74 6d 4e 61 6d 65 2c 22 |Check",S|tmName,"|
|00003de0| 42 6b 67 6e 64 20 50 72 | 6f 70 65 72 74 69 65 73 |Bkgnd Pr|operties|
|00003df0| 22 2c 22 63 61 6e 74 44 | 65 6c 65 74 65 22 0d 69 |","cantD|elete".i|
|00003e00| 66 20 74 68 65 20 64 6f | 6e 74 53 65 61 72 63 68 |f the do|ntSearch|
|00003e10| 20 6f 66 20 74 68 69 73 | 20 42 6b 67 6e 64 20 74 | of this| Bkgnd t|
|00003e20| 68 65 6e 20 6d 65 6e 75 | 20 22 43 68 65 63 6b 22 |hen menu| "Check"|
|00003e30| 2c 53 74 6d 4e 61 6d 65 | 2c 22 42 6b 67 6e 64 20 |,StmName|,"Bkgnd |
|00003e40| 50 72 6f 70 65 72 74 69 | 65 73 22 2c 22 64 6f 6e |Properti|es","don|
|00003e50| 74 53 65 61 72 63 68 22 | 0d 69 66 20 74 68 65 20 |tSearch"|.if the |
|00003e60| 73 68 6f 77 50 69 63 74 | 20 6f 66 20 74 68 69 73 |showPict| of this|
|00003e70| 20 42 6b 67 6e 64 20 74 | 68 65 6e 20 6d 65 6e 75 | Bkgnd t|hen menu|
|00003e80| 20 22 43 68 65 63 6b 22 | 2c 53 74 6d 4e 61 6d 65 | "Check"|,StmName|
|00003e90| 2c 22 42 6b 67 6e 64 20 | 50 72 6f 70 65 72 74 69 |,"Bkgnd |Properti|
|00003ea0| 65 73 22 2c 22 73 68 6f | 77 50 69 63 74 22 0d 69 |es","sho|wPict".i|
|00003eb0| 66 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |f the nu|mber of |
|00003ec0| 62 6b 67 6e 64 73 20 3e | 20 31 20 74 68 65 6e 0d |bkgnds >| 1 then.|
|00003ed0| 6d 65 6e 75 20 22 45 6e | 61 62 6c 65 22 2c 53 74 |menu "En|able",St|
|00003ee0| 6d 4e 61 6d 65 2c 22 42 | 6b 67 6e 64 20 50 72 6f |mName,"B|kgnd Pro|
|00003ef0| 70 65 72 74 69 65 73 22 | 2c 22 47 6f 20 4e 65 78 |perties"|,"Go Nex|
|00003f00| 74 20 42 6b 67 6e 64 22 | 0d 6d 65 6e 75 20 22 45 |t Bkgnd"|.menu "E|
|00003f10| 6e 61 62 6c 65 22 2c 53 | 74 6d 4e 61 6d 65 2c 22 |nable",S|tmName,"|
|00003f20| 42 6b 67 6e 64 20 50 72 | 6f 70 65 72 74 69 65 73 |Bkgnd Pr|operties|
|00003f30| 22 2c 22 47 6f 20 50 72 | 65 76 20 42 6b 67 6e 64 |","Go Pr|ev Bkgnd|
|00003f40| 22 0d 6d 65 6e 75 20 22 | 45 6e 61 62 6c 65 22 2c |".menu "|Enable",|
|00003f50| 53 74 6d 4e 61 6d 65 2c | 22 42 6b 67 6e 64 20 50 |StmName,|"Bkgnd P|
|00003f60| 72 6f 70 65 72 74 69 65 | 73 22 2c 22 47 6f 74 6f |ropertie|s","Goto|
|00003f70| 20 42 6b 67 6e 64 2e 2e | 2e 22 0d 65 6c 73 65 0d | Bkgnd..|.".else.|
|00003f80| 6d 65 6e 75 20 22 44 69 | 73 61 62 6c 65 22 2c 53 |menu "Di|sable",S|
|00003f90| 74 6d 4e 61 6d 65 2c 22 | 42 6b 67 6e 64 20 50 72 |tmName,"|Bkgnd Pr|
|00003fa0| 6f 70 65 72 74 69 65 73 | 22 2c 22 47 6f 20 4e 65 |operties|","Go Ne|
|00003fb0| 78 74 20 42 6b 67 6e 64 | 22 0d 6d 65 6e 75 20 22 |xt Bkgnd|".menu "|
|00003fc0| 44 69 73 61 62 6c 65 22 | 2c 53 74 6d 4e 61 6d 65 |Disable"|,StmName|
|00003fd0| 2c 22 42 6b 67 6e 64 20 | 50 72 6f 70 65 72 74 69 |,"Bkgnd |Properti|
|00003fe0| 65 73 22 2c 22 47 6f 20 | 50 72 65 76 20 42 6b 67 |es","Go |Prev Bkg|
|00003ff0| 6e 64 22 0d 6d 65 6e 75 | 20 22 44 69 73 61 62 6c |nd".menu| "Disabl|
|00004000| 65 22 2c 53 74 6d 4e 61 | 6d 65 2c 22 42 6b 67 6e |e",StmNa|me,"Bkgn|
|00004010| 64 20 50 72 6f 70 65 72 | 74 69 65 73 22 2c 22 47 |d Proper|ties","G|
|00004020| 6f 74 6f 20 42 6b 67 6e | 64 2e 2e 2e 22 0d 65 6e |oto Bkgn|d...".en|
|00004030| 64 20 69 66 0d 65 6e 64 | 20 73 65 74 42 6b 67 6e |d if.end| setBkgn|
|00004040| 64 50 72 6f 70 43 68 65 | 63 6b 73 0d 0d 6f 6e 20 |dPropChe|cks..on |
|00004050| 73 65 74 53 74 61 63 6b | 50 72 6f 70 43 68 65 63 |setStack|PropChec|
|00004060| 6b 73 0d 67 6c 6f 62 61 | 6c 20 53 74 6d 4e 61 6d |ks.globa|l StmNam|
|00004070| 65 0d 6d 65 6e 75 20 22 | 55 6e 63 68 65 63 6b 22 |e.menu "|Uncheck"|
|00004080| 2c 53 74 6d 4e 61 6d 65 | 2c 22 53 74 61 63 6b 20 |,StmName|,"Stack |
|00004090| 50 72 6f 70 65 72 74 69 | 65 73 22 2c 22 2a 22 0d |Properti|es","*".|
|000040a0| 69 66 20 74 68 65 20 63 | 61 6e 74 4d 6f 64 69 66 |if the c|antModif|
|000040b0| 79 20 6f 66 20 74 68 69 | 73 20 53 74 61 63 6b 20 |y of thi|s Stack |
|000040c0| 74 68 65 6e 20 6d 65 6e | 75 20 22 43 68 65 63 6b |then men|u "Check|
|000040d0| 22 2c 53 74 6d 4e 61 6d | 65 2c 22 53 74 61 63 6b |",StmNam|e,"Stack|
|000040e0| 20 50 72 6f 70 65 72 74 | 69 65 73 22 2c 22 63 61 | Propert|ies","ca|
|000040f0| 6e 74 4d 6f 64 69 66 79 | 22 0d 69 66 20 74 68 65 |ntModify|".if the|
|00004100| 20 63 61 6e 74 44 65 6c | 65 74 65 20 6f 66 20 74 | cantDel|ete of t|
|00004110| 68 69 73 20 53 74 61 63 | 6b 20 74 68 65 6e 20 6d |his Stac|k then m|
|00004120| 65 6e 75 20 22 43 68 65 | 63 6b 22 2c 53 74 6d 4e |enu "Che|ck",StmN|
|00004130| 61 6d 65 2c 22 53 74 61 | 63 6b 20 50 72 6f 70 65 |ame,"Sta|ck Prope|
|00004140| 72 74 69 65 73 22 2c 22 | 63 61 6e 74 44 65 6c 65 |rties","|cantDele|
|00004150| 74 65 22 0d 69 66 20 74 | 68 65 20 63 61 6e 74 41 |te".if t|he cantA|
|00004160| 62 6f 72 74 20 6f 66 20 | 74 68 69 73 20 53 74 61 |bort of |this Sta|
|00004170| 63 6b 20 74 68 65 6e 20 | 6d 65 6e 75 20 22 43 68 |ck then |menu "Ch|
|00004180| 65 63 6b 22 2c 53 74 6d | 4e 61 6d 65 2c 22 53 74 |eck",Stm|Name,"St|
|00004190| 61 63 6b 20 50 72 6f 70 | 65 72 74 69 65 73 22 2c |ack Prop|erties",|
|000041a0| 22 63 61 6e 74 41 62 6f | 72 74 22 0d 69 66 20 74 |"cantAbo|rt".if t|
|000041b0| 68 65 20 63 61 6e 74 50 | 65 65 6b 20 6f 66 20 74 |he cantP|eek of t|
|000041c0| 68 69 73 20 53 74 61 63 | 6b 20 74 68 65 6e 20 6d |his Stac|k then m|
|000041d0| 65 6e 75 20 22 43 68 65 | 63 6b 22 2c 53 74 6d 4e |enu "Che|ck",StmN|
|000041e0| 61 6d 65 2c 22 53 74 61 | 63 6b 20 50 72 6f 70 65 |ame,"Sta|ck Prope|
|000041f0| 72 74 69 65 73 22 2c 22 | 63 61 6e 74 50 65 65 6b |rties","|cantPeek|
|00004200| 22 0d 65 6e 64 20 73 65 | 74 53 74 61 63 6b 50 72 |".end se|tStackPr|
|00004210| 6f 70 43 68 65 63 6b 73 | 0d 0d 6f 6e 20 73 65 74 |opChecks|..on set|
|00004220| 47 6c 6f 62 61 6c 50 72 | 6f 70 43 68 65 63 6b 73 |GlobalPr|opChecks|
|00004230| 0d 67 6c 6f 62 61 6c 20 | 53 74 6d 4e 61 6d 65 0d |.global |StmName.|
|00004240| 6d 65 6e 75 20 22 55 6e | 63 68 65 63 6b 22 2c 53 |menu "Un|check",S|
|00004250| 74 6d 4e 61 6d 65 2c 22 | 47 6c 6f 62 61 6c 20 50 |tmName,"|Global P|
|00004260| 72 6f 70 65 72 74 69 65 | 73 22 2c 22 2a 22 0d 69 |ropertie|s","*".i|
|00004270| 66 20 74 68 65 20 62 6c | 69 6e 64 54 79 70 69 6e |f the bl|indTypin|
|00004280| 67 20 74 68 65 6e 20 6d | 65 6e 75 20 22 43 68 65 |g then m|enu "Che|
|00004290| 63 6b 22 2c 53 74 6d 4e | 61 6d 65 2c 22 47 6c 6f |ck",StmN|ame,"Glo|
|000042a0| 62 61 6c 20 50 72 6f 70 | 65 72 74 69 65 73 22 2c |bal Prop|erties",|
|000042b0| 22 62 6c 69 6e 64 54 79 | 70 69 6e 67 22 0d 69 66 |"blindTy|ping".if|
|000042c0| 20 74 68 65 20 70 6f 77 | 65 72 4b 65 79 73 20 74 | the pow|erKeys t|
|000042d0| 68 65 6e 20 6d 65 6e 75 | 20 22 43 68 65 63 6b 22 |hen menu| "Check"|
|000042e0| 2c 53 74 6d 4e 61 6d 65 | 2c 22 47 6c 6f 62 61 6c |,StmName|,"Global|
|000042f0| 20 50 72 6f 70 65 72 74 | 69 65 73 22 2c 22 70 6f | Propert|ies","po|
|00004300| 77 65 72 4b 65 79 73 22 | 0d 69 66 20 74 68 65 20 |werKeys"|.if the |
|00004310| 74 65 78 74 41 72 72 6f | 77 73 20 74 68 65 6e 20 |textArro|ws then |
|00004320| 6d 65 6e 75 20 22 43 68 | 65 63 6b 22 2c 53 74 6d |menu "Ch|eck",Stm|
|00004330| 4e 61 6d 65 2c 22 47 6c | 6f 62 61 6c 20 50 72 6f |Name,"Gl|obal Pro|
|00004340| 70 65 72 74 69 65 73 22 | 2c 22 74 65 78 74 41 72 |perties"|,"textAr|
|00004350| 72 6f 77 73 22 0d 69 66 | 20 74 68 65 20 6c 6f 6e |rows".if| the lon|
|00004360| 67 57 69 6e 64 6f 77 54 | 69 74 6c 65 73 20 74 68 |gWindowT|itles th|
|00004370| 65 6e 20 6d 65 6e 75 20 | 22 43 68 65 63 6b 22 2c |en menu |"Check",|
|00004380| 53 74 6d 4e 61 6d 65 2c | 22 47 6c 6f 62 61 6c 20 |StmName,|"Global |
|00004390| 50 72 6f 70 65 72 74 69 | 65 73 22 2c 22 6c 6f 6e |Properti|es","lon|
|000043a0| 67 57 69 6e 64 6f 77 54 | 69 74 6c 65 73 22 0d 65 |gWindowT|itles".e|
|000043b0| 6e 64 20 73 65 74 47 6c | 6f 62 61 6c 50 72 6f 70 |nd setGl|obalProp|
|000043c0| 43 68 65 63 6b 73 0d 0d | 2d 2d 2d 2d 2d 2d 2d 2d |Checks..|--------|
|000043d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000043e0| 20 53 65 74 20 50 61 6c | 65 74 74 65 73 20 48 61 | Set Pal|ettes Ha|
|000043f0| 6e 64 6c 65 72 20 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ndler --|--------|
|00004400| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004410| 2d 2d 2d 0d 0d 6f 6e 20 | 73 65 74 50 61 6c 65 74 |---..on |setPalet|
|00004420| 74 65 73 0d 67 6c 6f 62 | 61 6c 20 50 61 6c 65 74 |tes.glob|al Palet|
|00004430| 74 65 73 4c 69 73 74 0d | 70 75 74 20 30 20 69 6e |tesList.|put 0 in|
|00004440| 74 6f 20 74 68 65 53 65 | 6c 65 63 74 65 64 4c 69 |to theSe|lectedLi|
|00004450| 6e 65 0d 70 75 74 20 22 | 31 2c 32 2c 34 2c 35 2c |ne.put "|1,2,4,5,|
|00004460| 36 22 20 69 6e 74 6f 20 | 74 68 65 42 75 74 74 6f |6" into |theButto|
|00004470| 6e 73 0d 67 65 74 20 63 | 74 72 44 67 4c 6f 63 20 |ns.get c|trDgLoc |
|00004480| 28 33 35 33 2c 31 34 38 | 29 0d 70 75 74 20 69 74 |(353,148|).put it|
|00004490| 65 6d 20 31 20 6f 66 20 | 69 74 20 69 6e 74 6f 20 |em 1 of |it into |
|000044a0| 64 67 4c 65 66 74 0d 70 | 75 74 20 69 74 65 6d 20 |dgLeft.p|ut item |
|000044b0| 32 20 6f 66 20 69 74 20 | 69 6e 74 6f 20 64 67 54 |2 of it |into dgT|
|000044c0| 6f 70 0d 72 65 70 65 61 | 74 0d 73 65 74 20 63 75 |op.repea|t.set cu|
|000044d0| 72 73 6f 72 20 74 6f 20 | 77 61 74 63 68 0d 69 66 |rsor to |watch.if|
|000044e0| 20 50 61 6c 65 74 74 65 | 73 4c 69 73 74 20 69 73 | Palette|sList is|
|000044f0| 20 22 4e 6f 6e 65 20 4c | 69 73 74 65 64 22 20 74 | "None L|isted" t|
|00004500| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 54 68 65 72 |hen.answ|er "Ther|
|00004510| 65 20 61 72 65 20 6e 6f | 20 70 61 6c 65 74 74 65 |e are no| palette|
|00004520| 73 20 6c 69 73 74 65 64 | 20 69 6e 20 74 68 65 22 |s listed| in the"|
|00004530| 20 26 26 20 71 75 6f 74 | 65 20 26 20 22 50 61 6c | && quot|e & "Pal|
|00004540| 65 74 74 65 73 22 20 26 | 20 71 75 6f 74 65 20 26 |ettes" &| quote &|
|00004550| 26 20 c2 0d 22 73 75 62 | 6d 65 6e 75 2e 20 44 6f |& .."sub|menu. Do|
|00004560| 20 79 6f 75 20 77 61 6e | 74 20 74 6f 20 61 64 64 | you wan|t to add|
|00004570| 20 61 20 70 61 6c 65 74 | 74 65 3f 22 20 77 69 74 | a palet|te?" wit|
|00004580| 68 20 22 43 61 6e 63 65 | 6c 22 20 6f 72 20 22 41 |h "Cance|l" or "A|
|00004590| 64 64 22 0d 69 66 20 69 | 74 20 69 73 20 22 43 61 |dd".if i|t is "Ca|
|000045a0| 6e 63 65 6c 22 20 74 68 | 65 6e 20 65 78 69 74 20 |ncel" th|en exit |
|000045b0| 74 6f 20 48 79 70 65 72 | 43 61 72 64 0d 65 6c 73 |to Hyper|Card.els|
|000045c0| 65 20 61 64 64 50 61 6c | 65 74 74 65 0d 65 6e 64 |e addPal|ette.end|
|000045d0| 20 69 66 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e | if.put |empty in|
|000045e0| 74 6f 20 74 68 65 4c 69 | 73 74 0d 72 65 70 65 61 |to theLi|st.repea|
|000045f0| 74 20 77 69 74 68 20 63 | 6f 75 6e 74 20 3d 20 31 |t with c|ount = 1|
|00004600| 20 74 6f 20 28 74 68 65 | 20 6e 75 6d 62 65 72 20 | to (the| number |
|00004610| 6f 66 20 69 74 65 6d 73 | 20 69 6e 20 50 61 6c 65 |of items| in Pale|
|00004620| 74 74 65 73 4c 69 73 74 | 29 0d 70 75 74 20 69 74 |ttesList|).put it|
|00004630| 65 6d 20 63 6f 75 6e 74 | 20 6f 66 20 50 61 6c 65 |em count| of Pale|
|00004640| 74 74 65 73 4c 69 73 74 | 20 26 20 72 65 74 75 72 |ttesList| & retur|
|00004650| 6e 20 61 66 74 65 72 20 | 74 68 65 4c 69 73 74 0d |n after |theList.|
|00004660| 65 6e 64 20 72 65 70 65 | 61 74 0d 64 65 6c 65 74 |end repe|at.delet|
|00004670| 65 20 6c 61 73 74 20 63 | 68 61 72 20 6f 66 20 74 |e last c|har of t|
|00004680| 68 65 4c 69 73 74 0d 53 | 68 6f 77 44 69 61 6c 6f |heList.S|howDialo|
|00004690| 67 20 37 2c 34 36 30 36 | 2c 22 22 2c 63 68 69 63 |g 7,4606|,"",chic|
|000046a0| 61 67 6f 2c 31 32 2c 74 | 68 65 4c 69 73 74 2c 74 |ago,12,t|heList,t|
|000046b0| 68 65 53 65 6c 65 63 74 | 65 64 4c 69 6e 65 2c 22 |heSelect|edLine,"|
|000046c0| 6f 6e 65 22 2c 64 67 54 | 6f 70 2c 64 67 4c 65 66 |one",dgT|op,dgLef|
|000046d0| 74 0d 67 65 74 20 74 68 | 65 20 72 65 73 75 6c 74 |t.get th|e result|
|000046e0| 0d 69 66 20 6c 69 6e 65 | 20 31 20 6f 66 20 69 74 |.if line| 1 of it|
|000046f0| 20 69 73 20 6e 6f 74 20 | 69 6e 20 74 68 65 42 75 | is not |in theBu|
|00004700| 74 74 6f 6e 73 20 74 68 | 65 6e 20 68 61 6e 64 6c |ttons th|en handl|
|00004710| 65 53 74 6d 45 72 72 6f | 72 20 69 74 0d 70 75 74 |eStmErro|r it.put|
|00004720| 20 6c 69 6e 65 20 31 20 | 6f 66 20 69 74 20 69 6e | line 1 |of it in|
|00004730| 74 6f 20 74 68 65 41 6e | 73 77 65 72 0d 70 75 74 |to theAn|swer.put|
|00004740| 20 6c 69 6e 65 20 32 20 | 6f 66 20 69 74 20 69 6e | line 2 |of it in|
|00004750| 74 6f 20 74 68 65 49 74 | 65 6d 4e 75 6d 0d 70 75 |to theIt|emNum.pu|
|00004760| 74 20 6c 69 6e 65 20 28 | 74 68 65 49 74 65 6d 4e |t line (|theItemN|
|00004770| 75 6d 29 20 6f 66 20 74 | 68 65 4c 69 73 74 20 69 |um) of t|heList i|
|00004780| 6e 74 6f 20 74 68 65 50 | 61 6c 65 74 74 65 0d 69 |nto theP|alette.i|
|00004790| 66 20 28 74 68 65 41 6e | 73 77 65 72 20 69 73 20 |f (theAn|swer is |
|000047a0| 22 31 22 29 20 6f 72 20 | 28 74 68 65 41 6e 73 77 |"1") or |(theAnsw|
|000047b0| 65 72 20 69 73 20 22 32 | 22 29 20 74 68 65 6e 20 |er is "2|") then |
|000047c0| 65 78 69 74 20 74 6f 20 | 48 79 70 65 72 43 61 72 |exit to |HyperCar|
|000047d0| 64 20 2d 2d 20 22 43 61 | 6e 63 65 6c 22 20 6f 72 |d -- "Ca|ncel" or|
|000047e0| 20 22 44 6f 6e 65 22 0d | 65 6c 73 65 20 69 66 20 | "Done".|else if |
|000047f0| 74 68 65 41 6e 73 77 65 | 72 20 69 73 20 22 35 22 |theAnswe|r is "5"|
|00004800| 20 74 68 65 6e 20 72 65 | 6d 6f 76 65 50 61 6c 65 | then re|movePale|
|00004810| 74 74 65 20 74 68 65 50 | 61 6c 65 74 74 65 2c 74 |tte theP|alette,t|
|00004820| 68 65 49 74 65 6d 4e 75 | 6d 20 2d 2d 20 22 52 65 |heItemNu|m -- "Re|
|00004830| 6d 6f 76 65 2e 2e 2e 22 | 0d 65 6c 73 65 20 69 66 |move..."|.else if|
|00004840| 20 74 68 65 41 6e 73 77 | 65 72 20 69 73 20 22 34 | theAnsw|er is "4|
|00004850| 22 20 74 68 65 6e 20 61 | 64 64 50 61 6c 65 74 74 |" then a|ddPalett|
|00004860| 65 20 2d 2d 20 22 41 64 | 64 2e 2e 2e 22 0d 65 6c |e -- "Ad|d...".el|
|00004870| 73 65 20 69 66 20 74 68 | 65 41 6e 73 77 65 72 20 |se if th|eAnswer |
|00004880| 69 73 20 22 36 22 20 74 | 68 65 6e 20 73 68 6f 77 |is "6" t|hen show|
|00004890| 54 68 65 50 61 6c 65 74 | 74 65 20 74 68 65 50 61 |ThePalet|te thePa|
|000048a0| 6c 65 74 74 65 20 2d 2d | 20 22 4f 70 65 6e 20 50 |lette --| "Open P|
|000048b0| 61 6c 65 74 74 65 22 0d | 65 6e 64 20 72 65 70 65 |alette".|end repe|
|000048c0| 61 74 0d 65 6e 64 20 73 | 65 74 50 61 6c 65 74 74 |at.end s|etPalett|
|000048d0| 65 73 0d 0d 6f 6e 20 72 | 65 6d 6f 76 65 50 61 6c |es..on r|emovePal|
|000048e0| 65 74 74 65 20 74 68 65 | 50 61 6c 65 74 74 65 2c |ette the|Palette,|
|000048f0| 74 68 65 49 74 65 6d 4e | 75 6d 0d 67 6c 6f 62 61 |theItemN|um.globa|
|00004900| 6c 20 53 74 6d 4e 61 6d | 65 2c 50 61 6c 65 74 74 |l StmNam|e,Palett|
|00004910| 65 73 4c 69 73 74 2c 53 | 74 6d 50 61 74 68 4e 61 |esList,S|tmPathNa|
|00004920| 6d 65 0d 69 66 20 74 68 | 65 50 61 6c 65 74 74 65 |me.if th|ePalette|
|00004930| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 61 | is empt|y then.a|
|00004940| 6e 73 77 65 72 20 22 59 | 6f 75 20 64 69 64 20 6e |nswer "Y|ou did n|
|00004950| 6f 74 20 73 65 6c 65 63 | 74 20 61 20 70 61 6c 65 |ot selec|t a pale|
|00004960| 74 74 65 2e 22 0d 65 78 | 69 74 20 72 65 6d 6f 76 |tte.".ex|it remov|
|00004970| 65 50 61 6c 65 74 74 65 | 0d 65 6e 64 20 69 66 0d |ePalette|.end if.|
|00004980| 67 65 74 20 73 68 6f 77 | 52 65 6d 6f 76 65 41 6c |get show|RemoveAl|
|00004990| 65 72 74 20 28 22 52 65 | 6d 6f 76 65 20 70 61 6c |ert ("Re|move pal|
|000049a0| 65 74 74 65 22 20 26 26 | 20 71 75 6f 74 65 20 26 |ette" &&| quote &|
|000049b0| 20 74 68 65 50 61 6c 65 | 74 74 65 20 26 20 71 75 | thePale|tte & qu|
|000049c0| 6f 74 65 20 26 20 22 3f | 22 29 0d 73 65 74 20 63 |ote & "?|").set c|
|000049d0| 75 72 73 6f 72 20 74 6f | 20 77 61 74 63 68 0d 69 |ursor to| watch.i|
|000049e0| 66 20 69 74 20 69 73 20 | 22 32 22 20 74 68 65 6e |f it is |"2" then|
|000049f0| 20 65 78 69 74 20 72 65 | 6d 6f 76 65 50 61 6c 65 | exit re|movePale|
|00004a00| 74 74 65 20 2d 2d 20 75 | 73 65 72 20 63 61 6e 63 |tte -- u|ser canc|
|00004a10| 65 6c 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |el.if th|ere is a|
|00004a20| 20 77 69 6e 64 6f 77 20 | 74 68 65 50 61 6c 65 74 | window |thePalet|
|00004a30| 74 65 20 74 68 65 6e 20 | 63 6c 6f 73 65 20 77 69 |te then |close wi|
|00004a40| 6e 64 6f 77 20 74 68 65 | 50 61 6c 65 74 74 65 0d |ndow the|Palette.|
|00004a50| 64 65 6c 65 74 65 20 69 | 74 65 6d 20 28 74 68 65 |delete i|tem (the|
|00004a60| 49 74 65 6d 4e 75 6d 29 | 20 6f 66 20 50 61 6c 65 |ItemNum)| of Pale|
|00004a70| 74 74 65 73 4c 69 73 74 | 0d 69 66 20 50 61 6c 65 |ttesList|.if Pale|
|00004a80| 74 74 65 73 4c 69 73 74 | 20 69 73 20 65 6d 70 74 |ttesList| is empt|
|00004a90| 79 20 74 68 65 6e 0d 70 | 75 74 20 22 4e 6f 6e 65 |y then.p|ut "None|
|00004aa0| 20 4c 69 73 74 65 64 22 | 20 69 6e 74 6f 20 50 61 | Listed"| into Pa|
|00004ab0| 6c 65 74 74 65 73 4c 69 | 73 74 0d 6d 65 6e 75 20 |lettesLi|st.menu |
|00004ac0| 22 49 6e 73 65 72 74 22 | 2c 22 4e 6f 6e 65 20 4c |"Insert"|,"None L|
|00004ad0| 69 73 74 65 64 22 2c 53 | 74 6d 4e 61 6d 65 2c 22 |isted",S|tmName,"|
|00004ae0| 50 61 6c 65 74 74 65 73 | 22 2c 31 0d 6d 65 6e 75 |Palettes|",1.menu|
|00004af0| 20 22 44 69 73 61 62 6c | 65 22 2c 53 74 6d 4e 61 | "Disabl|e",StmNa|
|00004b00| 6d 65 2c 22 50 61 6c 65 | 74 74 65 73 22 2c 31 0d |me,"Pale|ttes",1.|
|00004b10| 65 6e 64 20 69 66 0d 6d | 65 6e 75 20 22 52 65 6d |end if.m|enu "Rem|
|00004b20| 6f 76 65 22 2c 53 74 6d | 4e 61 6d 65 2c 22 50 61 |ove",Stm|Name,"Pa|
|00004b30| 6c 65 74 74 65 73 22 2c | 74 68 65 50 61 6c 65 74 |lettes",|thePalet|
|00004b40| 74 65 0d 65 6e 64 20 72 | 65 6d 6f 76 65 50 61 6c |te.end r|emovePal|
|00004b50| 65 74 74 65 0d 0d 6f 6e | 20 61 64 64 50 61 6c 65 |ette..on| addPale|
|00004b60| 74 74 65 0d 67 6c 6f 62 | 61 6c 20 53 74 6d 4e 61 |tte.glob|al StmNa|
|00004b70| 6d 65 2c 50 61 6c 65 74 | 74 65 73 4c 69 73 74 2c |me,Palet|tesList,|
|00004b80| 53 74 6d 50 61 74 68 4e | 61 6d 65 0d 61 73 6b 20 |StmPathN|ame.ask |
|00004b90| 22 45 6e 74 65 72 20 74 | 68 65 20 70 61 6c 65 74 |"Enter t|he palet|
|00004ba0| 74 65 20 6e 61 6d 65 3a | 22 20 77 69 74 68 20 22 |te name:|" with "|
|00004bb0| 4e 65 77 20 50 61 6c 65 | 74 74 65 22 0d 69 66 20 |New Pale|tte".if |
|00004bc0| 69 74 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |it is em|pty then|
|00004bd0| 20 65 78 69 74 20 61 64 | 64 50 61 6c 65 74 74 65 | exit ad|dPalette|
|00004be0| 0d 63 68 65 63 6b 4d 65 | 6e 75 43 68 61 72 73 20 |.checkMe|nuChars |
|00004bf0| 69 74 0d 70 75 74 20 69 | 74 20 69 6e 74 6f 20 74 |it.put i|t into t|
|00004c00| 68 65 50 61 6c 65 74 74 | 65 0d 6d 65 6e 75 20 22 |hePalett|e.menu "|
|00004c10| 49 6e 73 65 72 74 22 2c | 74 68 65 50 61 6c 65 74 |Insert",|thePalet|
|00004c20| 74 65 2c 53 74 6d 4e 61 | 6d 65 2c 22 50 61 6c 65 |te,StmNa|me,"Pale|
|00004c30| 74 74 65 73 22 2c 22 2a | 22 0d 70 75 74 20 22 2c |ttes","*|".put ",|
|00004c40| 22 20 26 20 74 68 65 50 | 61 6c 65 74 74 65 20 61 |" & theP|alette a|
|00004c50| 66 74 65 72 20 50 61 6c | 65 74 74 65 73 4c 69 73 |fter Pal|ettesLis|
|00004c60| 74 0d 69 66 20 69 74 65 | 6d 20 31 20 6f 66 20 50 |t.if ite|m 1 of P|
|00004c70| 61 6c 65 74 74 65 73 4c | 69 73 74 20 69 73 20 22 |alettesL|ist is "|
|00004c80| 4e 6f 6e 65 20 4c 69 73 | 74 65 64 22 20 74 68 65 |None Lis|ted" the|
|00004c90| 6e 0d 6d 65 6e 75 20 22 | 52 65 6d 6f 76 65 22 2c |n.menu "|Remove",|
|00004ca0| 53 74 6d 4e 61 6d 65 2c | 22 50 61 6c 65 74 74 65 |StmName,|"Palette|
|00004cb0| 73 22 2c 31 0d 64 65 6c | 65 74 65 20 69 74 65 6d |s",1.del|ete item|
|00004cc0| 20 31 20 6f 66 20 50 61 | 6c 65 74 74 65 73 4c 69 | 1 of Pa|lettesLi|
|00004cd0| 73 74 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 61 64 |st.end i|f.end ad|
|00004ce0| 64 50 61 6c 65 74 74 65 | 0d 0d 6f 6e 20 73 68 6f |dPalette|..on sho|
|00004cf0| 77 54 68 65 50 61 6c 65 | 74 74 65 20 74 68 65 50 |wThePale|tte theP|
|00004d00| 61 6c 65 74 74 65 0d 69 | 66 20 74 68 65 50 61 6c |alette.i|f thePal|
|00004d10| 65 74 74 65 20 69 73 20 | 65 6d 70 74 79 20 74 68 |ette is |empty th|
|00004d20| 65 6e 0d 61 6e 73 77 65 | 72 20 22 59 6f 75 20 64 |en.answe|r "You d|
|00004d30| 69 64 20 6e 6f 74 20 73 | 65 6c 65 63 74 20 61 20 |id not s|elect a |
|00004d40| 70 61 6c 65 74 74 65 2e | 22 0d 65 78 69 74 20 73 |palette.|".exit s|
|00004d50| 68 6f 77 54 68 65 50 61 | 6c 65 74 74 65 0d 65 6e |howThePa|lette.en|
|00004d60| 64 20 69 66 0d 69 66 20 | 74 68 65 72 65 20 69 73 |d if.if |there is|
|00004d70| 20 6e 6f 74 20 61 20 77 | 69 6e 64 6f 77 20 74 68 | not a w|indow th|
|00004d80| 65 50 61 6c 65 74 74 65 | 20 74 68 65 6e 20 70 61 |ePalette| then pa|
|00004d90| 6c 65 74 74 65 20 74 68 | 65 50 61 6c 65 74 74 65 |lette th|ePalette|
|00004da0| 0d 69 66 20 74 68 65 20 | 72 65 73 75 6c 74 20 69 |.if the |result i|
|00004db0| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|00004dc0| 20 61 6e 73 77 65 72 20 | 74 68 65 20 72 65 73 75 | answer |the resu|
|00004dd0| 6c 74 0d 65 78 69 74 20 | 74 6f 20 48 79 70 65 72 |lt.exit |to Hyper|
|00004de0| 43 61 72 64 0d 65 6e 64 | 20 73 68 6f 77 54 68 65 |Card.end| showThe|
|00004df0| 50 61 6c 65 74 74 65 0d | 0d 2d 2d 2d 2d 2d 2d 2d |Palette.|.-------|
|00004e00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004e10| 2d 20 53 65 74 20 55 74 | 69 6c 69 74 79 20 53 74 |- Set Ut|ility St|
|00004e20| 61 63 6b 73 20 48 61 6e | 64 6c 65 72 20 2d 2d 2d |acks Han|dler ---|
|00004e30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004e40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0d 0d 6f 6e 20 73 |--------|--..on s|
|00004e50| 65 74 55 74 69 6c 53 74 | 61 63 6b 73 0d 67 6c 6f |etUtilSt|acks.glo|
|00004e60| 62 61 6c 20 55 74 69 6c | 53 74 61 63 6b 73 4c 69 |bal Util|StacksLi|
|00004e70| 73 74 0d 70 75 74 20 30 | 20 69 6e 74 6f 20 74 68 |st.put 0| into th|
|00004e80| 65 53 65 6c 65 63 74 65 | 64 4c 69 6e 65 0d 70 75 |eSelecte|dLine.pu|
|00004e90| 74 20 22 31 2c 32 2c 34 | 2c 35 2c 36 22 20 69 6e |t "1,2,4|,5,6" in|
|00004ea0| 74 6f 20 74 68 65 42 75 | 74 74 6f 6e 73 0d 67 65 |to theBu|ttons.ge|
|00004eb0| 74 20 63 74 72 44 67 4c | 6f 63 20 28 33 35 33 2c |t ctrDgL|oc (353,|
|00004ec0| 31 34 38 29 0d 70 75 74 | 20 69 74 65 6d 20 31 20 |148).put| item 1 |
|00004ed0| 6f 66 20 69 74 20 69 6e | 74 6f 20 64 67 4c 65 66 |of it in|to dgLef|
|00004ee0| 74 0d 70 75 74 20 69 74 | 65 6d 20 32 20 6f 66 20 |t.put it|em 2 of |
|00004ef0| 69 74 20 69 6e 74 6f 20 | 64 67 54 6f 70 0d 72 65 |it into |dgTop.re|
|00004f00| 70 65 61 74 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |peat.set| cursor |
|00004f10| 74 6f 20 77 61 74 63 68 | 0d 69 66 20 55 74 69 6c |to watch|.if Util|
|00004f20| 53 74 61 63 6b 73 4c 69 | 73 74 20 69 73 20 22 4e |StacksLi|st is "N|
|00004f30| 6f 6e 65 20 4c 69 73 74 | 65 64 22 20 74 68 65 6e |one List|ed" then|
|00004f40| 0d 61 6e 73 77 65 72 20 | 22 54 68 65 72 65 20 61 |.answer |"There a|
|00004f50| 72 65 20 6e 6f 20 73 74 | 61 63 6b 73 20 6c 69 73 |re no st|acks lis|
|00004f60| 74 65 64 20 69 6e 20 74 | 68 65 22 20 26 26 20 71 |ted in t|he" && q|
|00004f70| 75 6f 74 65 20 26 20 22 | 55 74 69 6c 69 74 79 20 |uote & "|Utility |
|00004f80| 53 74 61 63 6b 73 22 20 | 26 20 71 75 6f 74 65 20 |Stacks" |& quote |
|00004f90| 26 26 20 c2 0d 22 73 75 | 62 6d 65 6e 75 2e 20 44 |&& .."su|bmenu. D|
|00004fa0| 6f 20 79 6f 75 20 77 61 | 6e 74 20 74 6f 20 61 64 |o you wa|nt to ad|
|00004fb0| 64 20 61 20 73 74 61 63 | 6b 3f 22 20 77 69 74 68 |d a stac|k?" with|
|00004fc0| 20 22 43 61 6e 63 65 6c | 22 20 6f 72 20 22 41 64 | "Cancel|" or "Ad|
|00004fd0| 64 22 0d 69 66 20 69 74 | 20 69 73 20 22 43 61 6e |d".if it| is "Can|
|00004fe0| 63 65 6c 22 20 74 68 65 | 6e 20 65 78 69 74 20 74 |cel" the|n exit t|
|00004ff0| 6f 20 48 79 70 65 72 43 | 61 72 64 0d 65 6c 73 65 |o HyperC|ard.else|
|00005000| 20 61 64 64 55 74 69 6c | 53 74 61 63 6b 0d 65 6e | addUtil|Stack.en|
|00005010| 64 20 69 66 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |d if.put| empty i|
|00005020| 6e 74 6f 20 74 68 65 4c | 69 73 74 0d 72 65 70 65 |nto theL|ist.repe|
|00005030| 61 74 20 77 69 74 68 20 | 63 6f 75 6e 74 20 3d 20 |at with |count = |
|00005040| 31 20 74 6f 20 28 74 68 | 65 20 6e 75 6d 62 65 72 |1 to (th|e number|
|00005050| 20 6f 66 20 69 74 65 6d | 73 20 69 6e 20 55 74 69 | of item|s in Uti|
|00005060| 6c 53 74 61 63 6b 73 4c | 69 73 74 29 0d 70 75 74 |lStacksL|ist).put|
|00005070| 20 69 74 65 6d 20 63 6f | 75 6e 74 20 6f 66 20 55 | item co|unt of U|
|00005080| 74 69 6c 53 74 61 63 6b | 73 4c 69 73 74 20 26 20 |tilStack|sList & |
|00005090| 72 65 74 75 72 6e 20 61 | 66 74 65 72 20 74 68 65 |return a|fter the|
|000050a0| 4c 69 73 74 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |List.end| repeat.|
|000050b0| 64 65 6c 65 74 65 20 6c | 61 73 74 20 63 68 61 72 |delete l|ast char|
|000050c0| 20 6f 66 20 74 68 65 4c | 69 73 74 0d 53 68 6f 77 | of theL|ist.Show|
|000050d0| 44 69 61 6c 6f 67 20 37 | 2c 34 36 30 35 2c 22 22 |Dialog 7|,4605,""|
|000050e0| 2c 43 68 69 63 61 67 6f | 2c 31 32 2c 74 68 65 4c |,Chicago|,12,theL|
|000050f0| 69 73 74 2c 74 68 65 53 | 65 6c 65 63 74 65 64 4c |ist,theS|electedL|
|00005100| 69 6e 65 2c 22 6f 6e 65 | 22 2c 64 67 54 6f 70 2c |ine,"one|",dgTop,|
|00005110| 64 67 4c 65 66 74 0d 67 | 65 74 20 74 68 65 20 72 |dgLeft.g|et the r|
|00005120| 65 73 75 6c 74 0d 69 66 | 20 6c 69 6e 65 20 31 20 |esult.if| line 1 |
|00005130| 6f 66 20 69 74 20 69 73 | 20 6e 6f 74 20 69 6e 20 |of it is| not in |
|00005140| 74 68 65 42 75 74 74 6f | 6e 73 20 74 68 65 6e 20 |theButto|ns then |
|00005150| 68 61 6e 64 6c 65 53 74 | 6d 45 72 72 6f 72 20 69 |handleSt|mError i|
|00005160| 74 0d 70 75 74 20 6c 69 | 6e 65 20 31 20 6f 66 20 |t.put li|ne 1 of |
|00005170| 69 74 20 69 6e 74 6f 20 | 74 68 65 41 6e 73 77 65 |it into |theAnswe|
|00005180| 72 0d 70 75 74 20 6c 69 | 6e 65 20 32 20 6f 66 20 |r.put li|ne 2 of |
|00005190| 69 74 20 69 6e 74 6f 20 | 74 68 65 49 74 65 6d 4e |it into |theItemN|
|000051a0| 75 6d 0d 70 75 74 20 6c | 69 6e 65 20 28 74 68 65 |um.put l|ine (the|
|000051b0| 49 74 65 6d 4e 75 6d 29 | 20 6f 66 20 74 68 65 4c |ItemNum)| of theL|
|000051c0| 69 73 74 20 69 6e 74 6f | 20 74 68 65 53 74 61 63 |ist into| theStac|
|000051d0| 6b 0d 69 66 20 28 74 68 | 65 41 6e 73 77 65 72 20 |k.if (th|eAnswer |
|000051e0| 69 73 20 22 31 22 29 20 | 6f 72 20 28 74 68 65 41 |is "1") |or (theA|
|000051f0| 6e 73 77 65 72 20 69 73 | 20 22 32 22 29 20 74 68 |nswer is| "2") th|
|00005200| 65 6e 20 65 78 69 74 20 | 74 6f 20 48 79 70 65 72 |en exit |to Hyper|
|00005210| 43 61 72 64 20 2d 2d 20 | 22 43 61 6e 63 65 6c 22 |Card -- |"Cancel"|
|00005220| 20 6f 72 20 22 44 6f 6e | 65 22 0d 65 6c 73 65 20 | or "Don|e".else |
|00005230| 69 66 20 74 68 65 41 6e | 73 77 65 72 20 69 73 20 |if theAn|swer is |
|00005240| 22 35 22 20 74 68 65 6e | 20 72 65 6d 6f 76 65 55 |"5" then| removeU|
|00005250| 74 69 6c 53 74 61 63 6b | 20 74 68 65 53 74 61 63 |tilStack| theStac|
|00005260| 6b 2c 74 68 65 49 74 65 | 6d 4e 75 6d 20 2d 2d 20 |k,theIte|mNum -- |
|00005270| 22 52 65 6d 6f 76 65 2e | 2e 2e 22 0d 65 6c 73 65 |"Remove.|..".else|
|00005280| 20 69 66 20 74 68 65 41 | 6e 73 77 65 72 20 69 73 | if theA|nswer is|
|00005290| 20 22 34 22 20 74 68 65 | 6e 20 61 64 64 55 74 69 | "4" the|n addUti|
|000052a0| 6c 53 74 61 63 6b 20 2d | 2d 20 22 41 64 64 2e 2e |lStack -|- "Add..|
|000052b0| 2e 22 0d 65 6c 73 65 20 | 69 66 20 74 68 65 41 6e |.".else |if theAn|
|000052c0| 73 77 65 72 20 69 73 20 | 22 36 22 20 74 68 65 6e |swer is |"6" then|
|000052d0| 20 73 68 6f 77 55 74 69 | 6c 53 74 61 63 6b 20 74 | showUti|lStack t|
|000052e0| 68 65 53 74 61 63 6b 20 | 2d 2d 20 22 4f 70 65 6e |heStack |-- "Open|
|000052f0| 20 53 74 61 63 6b 22 0d | 65 6e 64 20 72 65 70 65 | Stack".|end repe|
|00005300| 61 74 0d 65 6e 64 20 73 | 65 74 55 74 69 6c 53 74 |at.end s|etUtilSt|
|00005310| 61 63 6b 73 0d 0d 6f 6e | 20 72 65 6d 6f 76 65 55 |acks..on| removeU|
|00005320| 74 69 6c 53 74 61 63 6b | 20 74 68 65 53 74 61 63 |tilStack| theStac|
|00005330| 6b 2c 74 68 65 49 74 65 | 6d 4e 75 6d 0d 67 6c 6f |k,theIte|mNum.glo|
|00005340| 62 61 6c 20 53 74 6d 4e | 61 6d 65 2c 55 74 69 6c |bal StmN|ame,Util|
|00005350| 53 74 61 63 6b 73 4c 69 | 73 74 0d 69 66 20 74 68 |StacksLi|st.if th|
|00005360| 65 53 74 61 63 6b 20 69 | 73 20 65 6d 70 74 79 20 |eStack i|s empty |
|00005370| 74 68 65 6e 20 61 6e 73 | 77 65 72 20 22 59 6f 75 |then ans|wer "You|
|00005380| 20 64 69 64 20 6e 6f 74 | 20 73 65 6c 65 63 74 20 | did not| select |
|00005390| 61 20 73 74 61 63 6b 2e | 22 0d 64 65 6c 65 74 65 |a stack.|".delete|
|000053a0| 20 69 74 65 6d 20 28 74 | 68 65 49 74 65 6d 4e 75 | item (t|heItemNu|
|000053b0| 6d 29 20 6f 66 20 55 74 | 69 6c 53 74 61 63 6b 73 |m) of Ut|ilStacks|
|000053c0| 4c 69 73 74 0d 69 66 20 | 55 74 69 6c 53 74 61 63 |List.if |UtilStac|
|000053d0| 6b 73 4c 69 73 74 20 69 | 73 20 65 6d 70 74 79 20 |ksList i|s empty |
|000053e0| 74 68 65 6e 0d 70 75 74 | 20 22 4e 6f 6e 65 20 4c |then.put| "None L|
|000053f0| 69 73 74 65 64 22 20 69 | 6e 74 6f 20 55 74 69 6c |isted" i|nto Util|
|00005400| 53 74 61 63 6b 73 4c 69 | 73 74 0d 6d 65 6e 75 20 |StacksLi|st.menu |
|00005410| 22 49 6e 73 65 72 74 22 | 2c 22 4e 6f 6e 65 20 4c |"Insert"|,"None L|
|00005420| 69 73 74 65 64 22 2c 53 | 74 6d 4e 61 6d 65 2c 22 |isted",S|tmName,"|
|00005430| 55 74 69 6c 69 74 79 20 | 53 74 61 63 6b 73 22 2c |Utility |Stacks",|
|00005440| 31 0d 6d 65 6e 75 20 22 | 44 69 73 61 62 6c 65 22 |1.menu "|Disable"|
|00005450| 2c 53 74 6d 4e 61 6d 65 | 2c 22 55 74 69 6c 69 74 |,StmName|,"Utilit|
|00005460| 79 20 53 74 61 63 6b 73 | 22 2c 31 0d 65 6e 64 20 |y Stacks|",1.end |
|00005470| 69 66 0d 6d 65 6e 75 20 | 22 52 65 6d 6f 76 65 22 |if.menu |"Remove"|
|00005480| 2c 53 74 6d 4e 61 6d 65 | 2c 22 55 74 69 6c 69 74 |,StmName|,"Utilit|
|00005490| 79 20 53 74 61 63 6b 73 | 22 2c 74 68 65 53 74 61 |y Stacks|",theSta|
|000054a0| 63 6b 0d 65 6e 64 20 72 | 65 6d 6f 76 65 55 74 69 |ck.end r|emoveUti|
|000054b0| 6c 53 74 61 63 6b 0d 0d | 6f 6e 20 61 64 64 55 74 |lStack..|on addUt|
|000054c0| 69 6c 53 74 61 63 6b 0d | 67 6c 6f 62 61 6c 20 53 |ilStack.|global S|
|000054d0| 74 6d 4e 61 6d 65 2c 55 | 74 69 6c 53 74 61 63 6b |tmName,U|tilStack|
|000054e0| 73 4c 69 73 74 0d 61 6e | 73 77 65 72 20 66 69 6c |sList.an|swer fil|
|000054f0| 65 20 22 41 64 64 20 77 | 68 69 63 68 20 73 74 61 |e "Add w|hich sta|
|00005500| 63 6b 20 74 6f 22 20 26 | 26 20 71 75 6f 74 65 20 |ck to" &|& quote |
|00005510| 26 20 c2 0d 22 55 74 69 | 6c 69 74 79 20 53 74 61 |& .."Uti|lity Sta|
|00005520| 63 6b 73 22 20 26 20 71 | 75 6f 74 65 20 26 26 20 |cks" & q|uote && |
|00005530| 22 73 75 62 6d 65 6e 75 | 3f 22 20 6f 66 20 74 79 |"submenu|?" of ty|
|00005540| 70 65 20 22 53 54 41 4b | 22 0d 69 66 20 69 74 20 |pe "STAK|".if it |
|00005550| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 65 78 |is empty| then ex|
|00005560| 69 74 20 61 64 64 55 74 | 69 6c 53 74 61 63 6b 0d |it addUt|ilStack.|
|00005570| 67 65 74 20 73 74 72 69 | 70 50 61 74 68 20 28 69 |get stri|pPath (i|
|00005580| 74 29 0d 63 68 65 63 6b | 4d 65 6e 75 43 68 61 72 |t).check|MenuChar|
|00005590| 73 20 69 74 0d 70 75 74 | 20 69 74 20 69 6e 74 6f |s it.put| it into|
|000055a0| 20 74 68 65 53 74 61 63 | 6b 0d 6d 65 6e 75 20 22 | theStac|k.menu "|
|000055b0| 49 6e 73 65 72 74 22 2c | 74 68 65 53 74 61 63 6b |Insert",|theStack|
|000055c0| 2c 53 74 6d 4e 61 6d 65 | 2c 22 55 74 69 6c 69 74 |,StmName|,"Utilit|
|000055d0| 79 20 53 74 61 63 6b 73 | 22 2c 22 2a 22 0d 70 75 |y Stacks|","*".pu|
|000055e0| 74 20 22 2c 22 20 26 20 | 74 68 65 53 74 61 63 6b |t "," & |theStack|
|000055f0| 20 61 66 74 65 72 20 55 | 74 69 6c 53 74 61 63 6b | after U|tilStack|
|00005600| 73 4c 69 73 74 0d 69 66 | 20 69 74 65 6d 20 31 20 |sList.if| item 1 |
|00005610| 6f 66 20 55 74 69 6c 53 | 74 61 63 6b 73 4c 69 73 |of UtilS|tacksLis|
|00005620| 74 20 69 73 20 22 4e 6f | 6e 65 20 4c 69 73 74 65 |t is "No|ne Liste|
|00005630| 64 22 20 74 68 65 6e 0d | 6d 65 6e 75 20 22 52 65 |d" then.|menu "Re|
|00005640| 6d 6f 76 65 22 2c 53 74 | 6d 4e 61 6d 65 2c 22 55 |move",St|mName,"U|
|00005650| 74 69 6c 69 74 79 20 53 | 74 61 63 6b 73 22 2c 31 |tility S|tacks",1|
|00005660| 0d 64 65 6c 65 74 65 20 | 69 74 65 6d 20 31 20 6f |.delete |item 1 o|
|00005670| 66 20 55 74 69 6c 53 74 | 61 63 6b 73 4c 69 73 74 |f UtilSt|acksList|
|00005680| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 61 64 64 55 |.end if.|end addU|
|00005690| 74 69 6c 53 74 61 63 6b | 0d 0d 6f 6e 20 73 68 6f |tilStack|..on sho|
|000056a0| 77 55 74 69 6c 53 74 61 | 63 6b 20 74 68 65 53 74 |wUtilSta|ck theSt|
|000056b0| 61 63 6b 0d 69 66 20 74 | 68 65 53 74 61 63 6b 20 |ack.if t|heStack |
|000056c0| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 61 6e |is empty| then.an|
|000056d0| 73 77 65 72 20 22 59 6f | 75 20 64 69 64 20 6e 6f |swer "Yo|u did no|
|000056e0| 74 20 73 65 6c 65 63 74 | 20 61 20 73 74 61 63 6b |t select| a stack|
|000056f0| 2e 22 0d 65 6c 73 65 0d | 67 6f 20 73 74 61 63 6b |.".else.|go stack|
|00005700| 20 74 68 65 53 74 61 63 | 6b 20 69 6e 20 6e 65 77 | theStac|k in new|
|00005710| 20 77 69 6e 64 6f 77 0d | 65 78 69 74 20 74 6f 20 | window.|exit to |
|00005720| 48 79 70 65 72 43 61 72 | 64 0d 65 6e 64 20 69 66 |HyperCar|d.end if|
|00005730| 0d 65 6e 64 20 73 68 6f | 77 55 74 69 6c 53 74 61 |.end sho|wUtilSta|
|00005740| 63 6b 0d 0d 2d 2d 2d 2d | 2d 20 20 57 69 6e 64 6f |ck..----|- Windo|
|00005750| 77 20 48 61 6e 64 6c 65 | 72 73 20 20 2d 2d 2d 2d |w Handle|rs ----|
|00005760| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005770| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005780| 0d 0d 6f 6e 20 77 69 6e | 64 6f 77 4c 69 73 74 0d |..on win|dowList.|
|00005790| 70 75 74 20 30 20 69 6e | 74 6f 20 74 68 65 53 65 |put 0 in|to theSe|
|000057a0| 6c 65 63 74 65 64 4c 69 | 6e 65 0d 70 75 74 20 22 |lectedLi|ne.put "|
|000057b0| 31 2c 32 2c 34 2c 35 22 | 20 69 6e 74 6f 20 74 68 |1,2,4,5"| into th|
|000057c0| 65 42 75 74 74 6f 6e 73 | 0d 67 65 74 20 63 74 72 |eButtons|.get ctr|
|000057d0| 44 67 4c 6f 63 20 28 33 | 35 33 2c 31 34 38 29 0d |DgLoc (3|53,148).|
|000057e0| 70 75 74 20 69 74 65 6d | 20 31 20 6f 66 20 69 74 |put item| 1 of it|
|000057f0| 20 69 6e 74 6f 20 64 67 | 4c 65 66 74 0d 70 75 74 | into dg|Left.put|
|00005800| 20 69 74 65 6d 20 32 20 | 6f 66 20 69 74 20 69 6e | item 2 |of it in|
|00005810| 74 6f 20 64 67 54 6f 70 | 0d 72 65 70 65 61 74 0d |to dgTop|.repeat.|
|00005820| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 77 61 |set curs|or to wa|
|00005830| 74 63 68 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |tch.put |empty in|
|00005840| 74 6f 20 74 68 65 4c 69 | 73 74 0d 72 65 70 65 61 |to theLi|st.repea|
|00005850| 74 20 77 69 74 68 20 63 | 6f 75 6e 74 20 3d 20 31 |t with c|ount = 1|
|00005860| 20 74 6f 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | to the |number o|
|00005870| 66 20 6c 69 6e 65 73 20 | 69 6e 20 74 68 65 20 77 |f lines |in the w|
|00005880| 69 6e 64 6f 77 73 0d 67 | 65 74 20 6c 69 6e 65 20 |indows.g|et line |
|00005890| 63 6f 75 6e 74 20 6f 66 | 20 74 68 65 20 77 69 6e |count of| the win|
|000058a0| 64 6f 77 73 0d 69 66 20 | 28 6e 6f 74 20 74 68 65 |dows.if |(not the|
|000058b0| 20 76 69 73 69 62 6c 65 | 20 6f 66 20 77 69 6e 64 | visible| of wind|
|000058c0| 6f 77 20 69 74 29 20 74 | 68 65 6e 20 70 75 74 20 |ow it) t|hen put |
|000058d0| 22 5b 22 20 26 20 69 74 | 20 26 20 22 5d 22 20 26 |"[" & it| & "]" &|
|000058e0| 20 72 65 74 75 72 6e 20 | 61 66 74 65 72 20 74 68 | return |after th|
|000058f0| 65 4c 69 73 74 0d 65 6c | 73 65 20 70 75 74 20 69 |eList.el|se put i|
|00005900| 74 20 26 20 72 65 74 75 | 72 6e 20 61 66 74 65 72 |t & retu|rn after|
|00005910| 20 74 68 65 4c 69 73 74 | 0d 65 6e 64 20 72 65 70 | theList|.end rep|
|00005920| 65 61 74 0d 64 65 6c 65 | 74 65 20 6c 61 73 74 20 |eat.dele|te last |
|00005930| 63 68 61 72 20 6f 66 20 | 74 68 65 4c 69 73 74 0d |char of |theList.|
|00005940| 53 68 6f 77 44 69 61 6c | 6f 67 20 37 2c 34 36 30 |ShowDial|og 7,460|
|00005950| 32 2c 22 22 2c 6d 6f 6e | 61 63 6f 2c 39 2c 74 68 |2,"",mon|aco,9,th|
|00005960| 65 4c 69 73 74 2c 74 68 | 65 53 65 6c 65 63 74 65 |eList,th|eSelecte|
|00005970| 64 4c 69 6e 65 2c 22 6f | 6e 65 22 2c 64 67 54 6f |dLine,"o|ne",dgTo|
|00005980| 70 2c 64 67 4c 65 66 74 | 0d 67 65 74 20 74 68 65 |p,dgLeft|.get the|
|00005990| 20 72 65 73 75 6c 74 0d | 69 66 20 6c 69 6e 65 20 | result.|if line |
|000059a0| 31 20 6f 66 20 69 74 20 | 69 73 20 6e 6f 74 20 69 |1 of it |is not i|
|000059b0| 6e 20 74 68 65 42 75 74 | 74 6f 6e 73 20 74 68 65 |n theBut|tons the|
|000059c0| 6e 20 68 61 6e 64 6c 65 | 53 74 6d 45 72 72 6f 72 |n handle|StmError|
|000059d0| 20 69 74 0d 70 75 74 20 | 6c 69 6e 65 20 32 20 6f | it.put |line 2 o|
|000059e0| 66 20 69 74 20 69 6e 74 | 6f 20 74 68 65 53 65 6c |f it int|o theSel|
|000059f0| 65 63 74 65 64 4c 69 6e | 65 0d 69 66 20 28 6c 69 |ectedLin|e.if (li|
|00005a00| 6e 65 20 31 20 6f 66 20 | 69 74 20 69 73 20 22 32 |ne 1 of |it is "2|
|00005a10| 22 29 20 74 68 65 6e 20 | 65 78 69 74 20 77 69 6e |") then |exit win|
|00005a20| 64 6f 77 4c 69 73 74 20 | 2d 2d 20 22 43 61 6e 63 |dowList |-- "Canc|
|00005a30| 65 6c 22 0d 65 6c 73 65 | 20 69 66 20 6c 69 6e 65 |el".else| if line|
|00005a40| 20 31 20 6f 66 20 69 74 | 20 69 73 20 22 31 22 20 | 1 of it| is "1" |
|00005a50| 74 68 65 6e 20 2d 2d 20 | 22 47 65 74 20 57 69 6e |then -- |"Get Win|
|00005a60| 64 6f 77 22 0d 69 66 20 | 74 68 65 53 65 6c 65 63 |dow".if |theSelec|
|00005a70| 74 65 64 4c 69 6e 65 20 | 69 73 20 6e 6f 74 20 65 |tedLine |is not e|
|00005a80| 6d 70 74 79 20 74 68 65 | 6e 0d 73 68 6f 77 20 77 |mpty the|n.show w|
|00005a90| 69 6e 64 6f 77 20 6c 69 | 6e 65 20 28 74 68 65 53 |indow li|ne (theS|
|00005aa0| 65 6c 65 63 74 65 64 4c | 69 6e 65 29 20 6f 66 20 |electedL|ine) of |
|00005ab0| 74 68 65 20 77 69 6e 64 | 6f 77 73 0d 65 6e 64 20 |the wind|ows.end |
|00005ac0| 69 66 0d 65 78 69 74 20 | 77 69 6e 64 6f 77 4c 69 |if.exit |windowLi|
|00005ad0| 73 74 0d 65 6c 73 65 20 | 69 66 20 6c 69 6e 65 20 |st.else |if line |
|00005ae0| 31 20 6f 66 20 69 74 20 | 69 73 20 22 34 22 20 74 |1 of it |is "4" t|
|00005af0| 68 65 6e 20 2d 2d 20 22 | 53 68 6f 77 2f 48 69 64 |hen -- "|Show/Hid|
|00005b00| 65 2e 2e 2e 22 0d 69 66 | 20 74 68 65 53 65 6c 65 |e...".if| theSele|
|00005b10| 63 74 65 64 4c 69 6e 65 | 20 69 73 20 6e 6f 74 20 |ctedLine| is not |
|00005b20| 65 6d 70 74 79 20 61 6e | 64 20 63 68 61 72 20 31 |empty an|d char 1|
|00005b30| 20 6f 66 20 6c 69 6e 65 | 20 28 74 68 65 53 65 6c | of line| (theSel|
|00005b40| 65 63 74 65 64 4c 69 6e | 65 29 20 6f 66 20 74 68 |ectedLin|e) of th|
|00005b50| 65 4c 69 73 74 20 69 73 | 20 22 5b 22 20 74 68 65 |eList is| "[" the|
|00005b60| 6e 0d 73 68 6f 77 20 77 | 69 6e 64 6f 77 20 6c 69 |n.show w|indow li|
|00005b70| 6e 65 20 28 74 68 65 53 | 65 6c 65 63 74 65 64 4c |ne (theS|electedL|
|00005b80| 69 6e 65 29 20 6f 66 20 | 74 68 65 20 77 69 6e 64 |ine) of |the wind|
|00005b90| 6f 77 73 0d 65 6c 73 65 | 20 69 66 20 74 68 65 53 |ows.else| if theS|
|00005ba0| 65 6c 65 63 74 65 64 4c | 69 6e 65 20 69 73 20 6e |electedL|ine is n|
|00005bb0| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 20 68 69 |ot empty| then hi|
|00005bc0| 64 65 20 77 69 6e 64 6f | 77 20 6c 69 6e 65 20 28 |de windo|w line (|
|00005bd0| 74 68 65 53 65 6c 65 63 | 74 65 64 4c 69 6e 65 29 |theSelec|tedLine)|
|00005be0| 20 6f 66 20 74 68 65 20 | 77 69 6e 64 6f 77 73 0d | of the |windows.|
|00005bf0| 65 6c 73 65 20 61 6e 73 | 77 65 72 20 22 59 6f 75 |else ans|wer "You|
|00005c00| 20 64 69 64 20 6e 6f 74 | 20 73 65 6c 65 63 74 20 | did not| select |
|00005c10| 61 20 77 69 6e 64 6f 77 | 2e 22 0d 65 6c 73 65 20 |a window|.".else |
|00005c20| 69 66 20 6c 69 6e 65 20 | 31 20 6f 66 20 69 74 20 |if line |1 of it |
|00005c30| 69 73 20 22 35 22 20 74 | 68 65 6e 20 2d 2d 20 22 |is "5" t|hen -- "|
|00005c40| 43 6c 6f 73 65 2e 2e 2e | 22 0d 69 66 20 74 68 65 |Close...|".if the|
|00005c50| 53 65 6c 65 63 74 65 64 | 4c 69 6e 65 20 69 73 20 |Selected|Line is |
|00005c60| 6e 6f 74 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 63 |not empt|y then.c|
|00005c70| 6c 6f 73 65 20 77 69 6e | 64 6f 77 20 6c 69 6e 65 |lose win|dow line|
|00005c80| 20 28 74 68 65 53 65 6c | 65 63 74 65 64 4c 69 6e | (theSel|ectedLin|
|00005c90| 65 29 20 6f 66 20 74 68 | 65 20 77 69 6e 64 6f 77 |e) of th|e window|
|00005ca0| 73 0d 69 66 20 74 68 65 | 20 72 65 73 75 6c 74 20 |s.if the| result |
|00005cb0| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|00005cc0| 6e 0d 61 6e 73 77 65 72 | 20 74 68 65 20 72 65 73 |n.answer| the res|
|00005cd0| 75 6c 74 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 |ult.end |if.end i|
|00005ce0| 66 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 72 65 70 |f.end if|.end rep|
|00005cf0| 65 61 74 0d 65 6e 64 20 | 77 69 6e 64 6f 77 4c 69 |eat.end |windowLi|
|00005d00| 73 74 0d 0d 6f 6e 20 77 | 69 6e 64 6f 77 49 6e 66 |st..on w|indowInf|
|00005d10| 6f 0d 70 75 74 20 28 74 | 68 65 20 72 65 63 74 20 |o.put (t|he rect |
|00005d20| 6f 66 20 63 61 72 64 20 | 77 69 6e 64 6f 77 29 20 |of card |window) |
|00005d30| 26 20 72 65 74 75 72 6e | 20 26 20 c2 0d 28 74 68 |& return| & ..(th|
|00005d40| 65 20 4c 6f 63 20 6f 66 | 20 63 61 72 64 20 77 69 |e Loc of| card wi|
|00005d50| 6e 64 6f 77 29 20 26 20 | 72 65 74 75 72 6e 20 26 |ndow) & |return &|
|00005d60| 20 c2 0d 28 74 68 65 20 | 72 65 63 74 20 6f 66 20 | ..(the |rect of |
|00005d70| 74 68 69 73 20 63 61 72 | 64 29 20 26 20 72 65 74 |this car|d) & ret|
|00005d80| 75 72 6e 20 26 20 c2 0d | 28 74 68 65 20 53 63 72 |urn & ..|(the Scr|
|00005d90| 65 65 6e 52 65 63 74 29 | 20 69 6e 74 6f 20 69 6e |eenRect)| into in|
|00005da0| 66 6f 4c 69 73 74 0d 67 | 65 74 20 63 74 72 44 67 |foList.g|et ctrDg|
|00005db0| 4c 6f 63 20 28 33 31 32 | 2c 31 37 31 29 0d 70 75 |Loc (312|,171).pu|
|00005dc0| 74 20 69 74 65 6d 20 31 | 20 6f 66 20 69 74 20 69 |t item 1| of it i|
|00005dd0| 6e 74 6f 20 64 67 4c 65 | 66 74 0d 70 75 74 20 69 |nto dgLe|ft.put i|
|00005de0| 74 65 6d 20 32 20 6f 66 | 20 69 74 20 69 6e 74 6f |tem 2 of| it into|
|00005df0| 20 64 67 54 6f 70 0d 53 | 68 6f 77 44 69 61 6c 6f | dgTop.S|howDialo|
|00005e00| 67 20 32 2c 34 30 30 33 | 2c 22 57 69 6e 64 6f 77 |g 2,4003|,"Window|
|00005e10| 20 49 6e 66 6f 2e 2e 2e | 22 2c 69 6e 66 6f 4c 69 | Info...|",infoLi|
|00005e20| 73 74 2c 22 22 2c 22 22 | 2c 64 67 54 6f 70 2c 64 |st,"",""|,dgTop,d|
|00005e30| 67 4c 65 66 74 0d 65 6e | 64 20 77 69 6e 64 6f 77 |gLeft.en|d window|
|00005e40| 49 6e 66 6f 0d 0d 6f 6e | 20 63 61 73 63 61 64 65 |Info..on| cascade|
|00005e50| 0d 69 66 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |.if the |number o|
|00005e60| 66 20 6c 69 6e 65 73 20 | 69 6e 20 74 68 65 20 73 |f lines |in the s|
|00005e70| 74 61 63 6b 73 20 3c 3d | 20 31 0d 74 68 65 6e 20 |tacks <=| 1.then |
|00005e80| 65 78 69 74 20 63 61 73 | 63 61 64 65 0d 70 75 74 |exit cas|cade.put|
|00005e90| 20 22 30 2c 32 30 22 20 | 69 6e 74 6f 20 6e 65 77 | "0,20" |into new|
|00005ea0| 4c 6f 63 0d 70 75 74 20 | 74 68 65 20 73 74 61 63 |Loc.put |the stac|
|00005eb0| 6b 73 20 69 6e 74 6f 20 | 74 68 65 53 74 61 63 6b |ks into |theStack|
|00005ec0| 73 0d 70 75 74 20 74 68 | 65 20 6e 75 6d 62 65 72 |s.put th|e number|
|00005ed0| 20 6f 66 20 6c 69 6e 65 | 73 20 69 6e 20 74 68 65 | of line|s in the|
|00005ee0| 53 74 61 63 6b 73 20 69 | 6e 74 6f 20 6e 75 6d 4c |Stacks i|nto numL|
|00005ef0| 69 6e 65 73 0d 72 65 70 | 65 61 74 20 77 69 74 68 |ines.rep|eat with|
|00005f00| 20 63 6f 75 6e 74 20 3d | 20 6e 75 6d 4c 69 6e 65 | count =| numLine|
|00005f10| 73 20 64 6f 77 6e 20 74 | 6f 20 31 0d 69 66 20 6e |s down t|o 1.if n|
|00005f20| 6f 74 20 74 68 65 20 6c | 6f 6e 67 57 69 6e 64 6f |ot the l|ongWindo|
|00005f30| 77 54 69 74 6c 65 73 0d | 74 68 65 6e 20 67 65 74 |wTitles.|then get|
|00005f40| 20 73 74 72 69 70 50 61 | 74 68 28 6c 69 6e 65 20 | stripPa|th(line |
|00005f50| 63 6f 75 6e 74 20 6f 66 | 20 74 68 65 53 74 61 63 |count of| theStac|
|00005f60| 6b 73 29 0d 65 6c 73 65 | 20 67 65 74 20 6c 69 6e |ks).else| get lin|
|00005f70| 65 20 63 6f 75 6e 74 20 | 6f 66 20 74 68 65 53 74 |e count |of theSt|
|00005f80| 61 63 6b 73 0d 61 64 64 | 20 31 36 20 74 6f 20 69 |acks.add| 16 to i|
|00005f90| 74 65 6d 20 31 20 6f 66 | 20 6e 65 77 4c 6f 63 0d |tem 1 of| newLoc.|
|00005fa0| 61 64 64 20 32 30 20 74 | 6f 20 69 74 65 6d 20 32 |add 20 t|o item 2|
|00005fb0| 20 6f 66 20 6e 65 77 4c | 6f 63 0d 73 65 74 20 74 | of newL|oc.set t|
|00005fc0| 68 65 20 6c 6f 63 20 6f | 66 20 77 69 6e 64 6f 77 |he loc o|f window|
|00005fd0| 20 28 69 74 29 20 74 6f | 20 6e 65 77 4c 6f 63 0d | (it) to| newLoc.|
|00005fe0| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 64 20 63 |end repe|at.end c|
|00005ff0| 61 73 63 61 64 65 0d 0d | 6f 6e 20 72 65 61 6c 69 |ascade..|on reali|
|00006000| 67 6e 57 69 6e 64 6f 77 | 20 70 6f 72 74 69 6f 6e |gnWindow| portion|
|00006010| 31 2c 70 6f 72 74 69 6f | 6e 32 0d 73 65 74 20 63 |1,portio|n2.set c|
|00006020| 75 72 73 6f 72 20 74 6f | 20 77 61 74 63 68 0d 70 |ursor to| watch.p|
|00006030| 75 74 20 69 74 65 6d 20 | 31 20 6f 66 20 74 68 65 |ut item |1 of the|
|00006040| 20 73 63 72 65 65 6e 52 | 65 63 74 20 69 6e 74 6f | screenR|ect into|
|00006050| 20 73 63 72 6e 4c 65 66 | 74 0d 70 75 74 20 69 74 | scrnLef|t.put it|
|00006060| 65 6d 20 32 20 6f 66 20 | 74 68 65 20 73 63 72 65 |em 2 of |the scre|
|00006070| 65 6e 52 65 63 74 20 69 | 6e 74 6f 20 73 63 72 6e |enRect i|nto scrn|
|00006080| 54 6f 70 0d 70 75 74 20 | 69 74 65 6d 20 33 20 6f |Top.put |item 3 o|
|00006090| 66 20 74 68 65 20 73 63 | 72 65 65 6e 52 65 63 74 |f the sc|reenRect|
|000060a0| 20 69 6e 74 6f 20 73 63 | 72 6e 52 69 67 68 74 0d | into sc|rnRight.|
|000060b0| 70 75 74 20 69 74 65 6d | 20 34 20 6f 66 20 74 68 |put item| 4 of th|
|000060c0| 65 20 73 63 72 65 65 6e | 52 65 63 74 20 69 6e 74 |e screen|Rect int|
|000060d0| 6f 20 73 63 72 6e 42 6f | 74 74 6f 6d 0d 69 66 20 |o scrnBo|ttom.if |
|000060e0| 70 6f 72 74 69 6f 6e 31 | 20 69 73 20 22 63 65 6e |portion1| is "cen|
|000060f0| 74 65 72 22 20 74 68 65 | 6e 0d 70 75 74 20 77 69 |ter" the|n.put wi|
|00006100| 64 74 68 20 6f 66 20 63 | 61 72 64 20 77 69 6e 64 |dth of c|ard wind|
|00006110| 6f 77 20 64 69 76 20 32 | 20 69 6e 74 6f 20 68 6f |ow div 2| into ho|
|00006120| 72 7a 4f 66 66 73 65 74 | 0d 70 75 74 20 68 65 69 |rzOffset|.put hei|
|00006130| 67 68 74 20 6f 66 20 63 | 61 72 64 20 77 69 6e 64 |ght of c|ard wind|
|00006140| 6f 77 20 64 69 76 20 32 | 20 69 6e 74 6f 20 76 65 |ow div 2| into ve|
|00006150| 72 74 4f 66 66 73 65 74 | 0d 70 75 74 20 28 28 73 |rtOffset|.put ((s|
|00006160| 63 72 6e 52 69 67 68 74 | 20 2d 20 73 63 72 6e 4c |crnRight| - scrnL|
|00006170| 65 66 74 29 20 64 69 76 | 20 32 29 20 69 6e 74 6f |eft) div| 2) into|
|00006180| 20 68 6f 72 7a 43 65 6e | 74 65 72 0d 70 75 74 20 | horzCen|ter.put |
|00006190| 28 28 73 63 72 6e 42 6f | 74 74 6f 6d 20 2d 20 73 |((scrnBo|ttom - s|
|000061a0| 63 72 6e 54 6f 70 29 20 | 64 69 76 20 32 29 20 2b |crnTop) |div 2) +|
|000061b0| 20 31 38 20 69 6e 74 6f | 20 76 65 72 74 43 65 6e | 18 into| vertCen|
|000061c0| 74 65 72 0d 73 65 74 20 | 6c 6f 63 20 6f 66 20 63 |ter.set |loc of c|
|000061d0| 61 72 64 20 77 69 6e 64 | 6f 77 20 74 6f 20 68 6f |ard wind|ow to ho|
|000061e0| 72 7a 43 65 6e 74 65 72 | 20 2d 20 68 6f 72 7a 4f |rzCenter| - horzO|
|000061f0| 66 66 73 65 74 2c 76 65 | 72 74 43 65 6e 74 65 72 |ffset,ve|rtCenter|
|00006200| 20 2d 20 76 65 72 74 4f | 66 66 73 65 74 0d 65 6c | - vertO|ffset.el|
|00006210| 73 65 0d 69 66 20 70 6f | 72 74 69 6f 6e 32 20 69 |se.if po|rtion2 i|
|00006220| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 69 66 20 |s empty |then.if |
|00006230| 70 6f 72 74 69 6f 6e 31 | 20 69 73 20 22 6c 65 66 |portion1| is "lef|
|00006240| 74 22 20 74 68 65 6e 0d | 73 65 74 20 6c 65 66 74 |t" then.|set left|
|00006250| 20 6f 66 20 63 61 72 64 | 20 77 69 6e 64 6f 77 20 | of card| window |
|00006260| 74 6f 20 73 63 72 6e 4c | 65 66 74 0d 65 6c 73 65 |to scrnL|eft.else|
|00006270| 20 69 66 20 70 6f 72 74 | 69 6f 6e 31 20 69 73 20 | if port|ion1 is |
|00006280| 22 72 69 67 68 74 22 20 | 74 68 65 6e 0d 73 65 74 |"right" |then.set|
|00006290| 20 72 69 67 68 74 20 6f | 66 20 63 61 72 64 20 77 | right o|f card w|
|000062a0| 69 6e 64 6f 77 20 74 6f | 20 73 63 72 6e 52 69 67 |indow to| scrnRig|
|000062b0| 68 74 0d 65 6c 73 65 20 | 69 66 20 70 6f 72 74 69 |ht.else |if porti|
|000062c0| 6f 6e 31 20 69 73 20 22 | 74 6f 70 22 20 74 68 65 |on1 is "|top" the|
|000062d0| 6e 0d 73 65 74 20 74 6f | 70 20 6f 66 20 63 61 72 |n.set to|p of car|
|000062e0| 64 20 77 69 6e 64 6f 77 | 20 74 6f 20 28 73 63 72 |d window| to (scr|
|000062f0| 6e 54 6f 70 20 2b 20 34 | 30 29 20 2d 2d 20 6d 65 |nTop + 4|0) -- me|
|00006300| 6e 75 20 62 61 72 0d 65 | 6c 73 65 20 69 66 20 70 |nu bar.e|lse if p|
|00006310| 6f 72 74 69 6f 6e 31 20 | 69 73 20 22 62 6f 74 74 |ortion1 |is "bott|
|00006320| 6f 6d 22 20 74 68 65 6e | 0d 73 65 74 20 62 6f 74 |om" then|.set bot|
|00006330| 74 6f 6d 20 6f 66 20 63 | 61 72 64 20 77 69 6e 64 |tom of c|ard wind|
|00006340| 6f 77 20 74 6f 20 73 63 | 72 6e 42 6f 74 74 6f 6d |ow to sc|rnBottom|
|00006350| 0d 65 6e 64 20 69 66 0d | 65 6c 73 65 0d 69 66 20 |.end if.|else.if |
|00006360| 28 28 70 6f 72 74 69 6f | 6e 32 20 69 73 20 22 6c |((portio|n2 is "l|
|00006370| 65 66 74 22 29 20 61 6e | 64 20 28 70 6f 72 74 69 |eft") an|d (porti|
|00006380| 6f 6e 31 20 69 73 20 22 | 74 6f 70 22 29 29 20 74 |on1 is "|top")) t|
|00006390| 68 65 6e 0d 73 65 74 20 | 6c 6f 63 20 6f 66 20 63 |hen.set |loc of c|
|000063a0| 61 72 64 20 77 69 6e 64 | 6f 77 20 74 6f 20 73 63 |ard wind|ow to sc|
|000063b0| 72 6e 4c 65 66 74 2c 28 | 73 63 72 6e 54 6f 70 20 |rnLeft,(|scrnTop |
|000063c0| 2b 20 34 30 29 0d 65 6c | 73 65 20 69 66 20 28 28 |+ 40).el|se if ((|
|000063d0| 70 6f 72 74 69 6f 6e 32 | 20 69 73 20 22 6c 65 66 |portion2| is "lef|
|000063e0| 74 22 29 20 61 6e 64 20 | 28 70 6f 72 74 69 6f 6e |t") and |(portion|
|000063f0| 31 20 69 73 20 22 62 6f | 74 74 6f 6d 22 29 29 20 |1 is "bo|ttom")) |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.